Skip to content

Commit

Permalink
remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Apr 27, 2024
1 parent ff9bfad commit 6e90d90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/red_knot/src/types/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ use crate::types::Type;
use crate::FileId;
use ruff_python_ast::AstNode;

// TODO this should not take a &mut db, it should be a query, not a mutation. This means we'll need
// to use interior mutability in TypeStore instead, and avoid races in populating the cache.
#[tracing::instrument(level = "trace", skip(db))]
pub fn infer_symbol_type<Db>(db: &Db, file_id: FileId, symbol_id: SymbolId) -> Type
where
Expand Down

0 comments on commit 6e90d90

Please sign in to comment.