chore: 清理 oxide_emit clippy 告警

This commit is contained in:
2026-08-14 05:26:25 +08:00
parent 12ebdb8c0e
commit 6522a39dd7
4 changed files with 15 additions and 25 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ impl Emitter {
// 自导入:读自身命名空间(依赖即本模块,勿递归)。
ns_reg
} else {
if path_stack.iter().any(|p| *p == resolved.path) {
if path_stack.contains(&resolved.path) {
return Err(format!("circular module import not supported: {}", resolved.path));
}
path_stack.push(resolved.path.clone());