Skip to content

Commit fab2291

Browse files
committed
chore(compile): remove unnecessary to_string()
1 parent 7b9a84e commit fab2291

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/handlers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,7 @@ pub(crate) fn handle_compile_subcommand(
933933
"Invalid script type. Supported types: sh, wsh, sh-wsh, tr".to_string(),
934934
));
935935
}
936-
}?
937-
.to_string();
936+
}?;
938937

939938
if pretty {
940939
let mut rows = vec![vec!["Descriptor".cell().bold(true), descriptor.cell()]];

0 commit comments

Comments
 (0)