Skip to content

Commit 0406c13

Browse files
committed
Remove unnecessary owndership.
1 parent 6fdd9bc commit 0406c13

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

vm/src/system/syscall.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ impl SyscallInstruction {
204204
Some(parts) => parts,
205205
None => return Err(VMErrorKind::InvalidProfileLabel(label))?,
206206
};
207-
let (marker, fn_name) = (marker.to_owned(), fn_name.to_owned());
208207

209208
// Ensure the marker is either '^' (start) or '$' (end)
210209
if !matches!(marker, "^" | "$") {

0 commit comments

Comments
 (0)