This commit is contained in:
Duncan Proctor 2024-10-22 06:54:44 -04:00
parent 2e0fae3579
commit 4fd471c571

View file

@ -364,8 +364,7 @@ impl SourceAnalyzer {
(RangeOp::Inclusive, None, None) => return None,
(RangeOp::Inclusive, Some(_), None) => return None,
};
let s = self.resolver.resolve_known_struct(db.upcast(), &path);
return s;
self.resolver.resolve_known_struct(db.upcast(), &path)
}
pub(crate) fn resolve_range_expr(