diff options
| author | nic-gaffney <gaffney_nic@protonmail.com> | 2023-04-27 17:58:31 -0500 |
|---|---|---|
| committer | nic-gaffney <gaffney_nic@protonmail.com> | 2023-04-27 17:58:31 -0500 |
| commit | 1466d51eed5767e92d3264289590770932ceba96 (patch) | |
| tree | e33f66e030513c0ad0f39b4234e2a5164fd37dc7 /crates/sloth_vm | |
| parent | fdaa289c2f55b31668ef0a6ec986cf459c834eb6 (diff) | |
| download | sloth-1466d51eed5767e92d3264289590770932ceba96.tar.gz | |
Fixed error with clippy
Diffstat (limited to 'crates/sloth_vm')
| -rw-r--r-- | crates/sloth_vm/src/sloth_std/misc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/sloth_vm/src/sloth_std/misc.rs b/crates/sloth_vm/src/sloth_std/misc.rs index 4417e59..6994657 100644 --- a/crates/sloth_vm/src/sloth_std/misc.rs +++ b/crates/sloth_vm/src/sloth_std/misc.rs @@ -18,7 +18,7 @@ fn get_doc(vm: &mut VM, args: &[Primitive]) -> NativeFunctionResult { }; let docs = NATIVE_LIBRARY - .get(fnc.name.clone()) + .get(fnc.name) .ok_or(native::Error::InvalidArgument)? .doc .ok_or(native::Error::InvalidArgument)? |
