Skip to content

Commit e28046c

Browse files
committed
Removed unnecessary TODO
1 parent 997fc46 commit e28046c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/consteval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ pub fn eval_const(
339339
ValueNs::GenericParam(_) => {
340340
Err(ConstEvalError::NotSupported("const generic without substitution"))
341341
}
342-
ValueNs::EnumVariantId(id) => ctx.db.const_eval_variant(id), // TODO(ole): Assuming this is all that has to happen?
342+
ValueNs::EnumVariantId(id) => ctx.db.const_eval_variant(id),
343343
_ => Err(ConstEvalError::NotSupported("path that are not const or local")),
344344
}
345345
}

0 commit comments

Comments
 (0)