Hard code constant checking.
This commit is contained in:
@@ -220,7 +220,7 @@ fn collect_fn_metadata(
|
||||
"comments".into(),
|
||||
func.comments
|
||||
.iter()
|
||||
.map(|s| engine.get_interned_string(s.as_ref()).into())
|
||||
.map(|s| engine.get_interned_string(s.as_str()).into())
|
||||
.collect::<Array>()
|
||||
.into(),
|
||||
);
|
||||
|
Reference in New Issue
Block a user