fix: wrong var for name in UnknownModule error

This commit is contained in:
rvcas
2023-07-31 13:59:10 -04:00
committed by Lucas
parent b6ac39f322
commit 7e531d0da1

View File

@@ -320,7 +320,7 @@ impl<'a> Environment<'a> {
self.imported_modules
.get(m)
.ok_or_else(|| Error::UnknownModule {
name: name.to_string(),
name: m.to_string(),
imported_modules: self
.importable_modules
.keys()