We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08594c1 commit 4c1a0acCopy full SHA for 4c1a0ac
crates/steel-core/src/steel_vm/engine.rs
@@ -1789,7 +1789,7 @@ impl Engine {
1789
/// use steel::rvals::SteelVal;
1790
///
1791
/// let mut vm = Engine::new();
1792
- /// let external_value = SteelVal::StringV("hello-world".to_string().into());
+ /// let external_value = SteelVal::StringV("hello-world".into());
1793
/// vm.register_value("hello-world", external_value);
1794
/// vm.run("hello-world").unwrap(); // Will return the string
1795
/// ```
0 commit comments