Skip to content

Commit 4c1a0ac

Browse files
committed
Fix doc.
1 parent 08594c1 commit 4c1a0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/steel-core/src/steel_vm/engine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ impl Engine {
17891789
/// use steel::rvals::SteelVal;
17901790
///
17911791
/// let mut vm = Engine::new();
1792-
/// let external_value = SteelVal::StringV("hello-world".to_string().into());
1792+
/// let external_value = SteelVal::StringV("hello-world".into());
17931793
/// vm.register_value("hello-world", external_value);
17941794
/// vm.run("hello-world").unwrap(); // Will return the string
17951795
/// ```

0 commit comments

Comments
 (0)