Skip to content

Commit

Permalink
s/copied/cloned/g for MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
CAD97 committed Mar 12, 2020
1 parent 7da0b70 commit 3d30bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interpret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl ThreadState {
pub fn proc_macro(fun: &str, inputs: Vec<TokenStream>, instance: &WasmMacro) -> TokenStream {
STATE.with(|state| {
let state = &mut state.borrow_mut();
let flags = instance.flags().iter().copied().collect();
let flags = instance.flags().iter().cloned().collect();
let instance = state.instance(instance);
let exports = Exports::collect(instance, fun);

Expand Down
2 changes: 1 addition & 1 deletion src/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl ThreadState {
pub fn proc_macro(fun: &str, inputs: Vec<TokenStream>, instance: &WasmMacro) -> TokenStream {
STATE.with(|state| {
let mut state = state.borrow_mut();
let flags = instance.flags().iter().copied().collect();
let flags = instance.flags().iter().cloned().collect();
let (module, instance) = state.instance(instance);
let instance_exports = instance.exports();
let exports = Exports::collect(module, &instance_exports, fun);
Expand Down

0 comments on commit 3d30bbb

Please sign in to comment.