Skip to content

Commit a71f07f

Browse files
committed
chore: remove unnecessary clone from embedded vm example
1 parent 4f332b8 commit a71f07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/embedded_jvm/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async fn common_main() -> Result<()> {
2222
let cargo_manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
2323
let class_path = ClassPath::from(&[cargo_manifest_dir]);
2424
let configuration = ConfigurationBuilder::new()
25-
.class_path(class_path.clone())
25+
.class_path(class_path)
2626
.main_class("HelloWorld")
2727
.build()?;
2828
let vm = VM::new(configuration).await?;

0 commit comments

Comments
 (0)