Satisfy clippy.

This commit is contained in:
Stephen Chung
2023-02-11 00:17:26 +08:00
parent c58fe87107
commit 75718a5a8b
9 changed files with 35 additions and 33 deletions

View File

@@ -233,7 +233,7 @@ impl fmt::Debug for Module {
.modules
.as_deref()
.into_iter()
.flat_map(|m| m.keys())
.flat_map(BTreeMap::keys)
.map(SmartString::as_str)
.collect::<Vec<_>>(),
)
@@ -2202,7 +2202,7 @@ impl Module {
environ: ref mut e, ..
} = f.func
{
*e = Some(environ.clone())
*e = Some(environ.clone());
}
});