Skip to content

Commit 5a04f96

Browse files
authored
Fix(docs): incorrect comment for Loop key (#8843)
1 parent 9fbba2e commit 5a04f96

File tree

1 file changed

+1
-1
lines changed
  • crates/cairo-lang-lowering/src

1 file changed

+1
-1
lines changed

crates/cairo-lang-lowering/src/ids.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ impl<'a> DebugWithDb<'a> for FunctionLongId<'a> {
379379
/// A key for generated functions.
380380
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, salsa::Update)]
381381
pub enum GeneratedFunctionKey<'db> {
382-
/// Generated loop functions are identified by the loop expr_id.
382+
/// Generated loop functions are identified by the loop's AST pointer (ExprPtr).
383383
Loop(ExprPtr<'db>),
384384
TraitFunc(TraitFunctionId<'db>, StableLocation<'db>),
385385
}

0 commit comments

Comments
 (0)