about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOleStrohm <strohm99@gmail.com>2022-08-06 18:52:35 +0200
committerOleStrohm <strohm99@gmail.com>2022-09-12 20:19:19 +0100
commite28046c673178361d39b7f6dafd6915767f2d71f (patch)
treea24e7f04fdc24106c6263b83abad41cbfcc4c9c0
parent997fc46efad4dac0c325df55e17a55d7cc4cdc05 (diff)
downloadrust-e28046c673178361d39b7f6dafd6915767f2d71f.tar.gz
rust-e28046c673178361d39b7f6dafd6915767f2d71f.zip
Removed unnecessary TODO
-rw-r--r--crates/hir-ty/src/consteval.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/consteval.rs b/crates/hir-ty/src/consteval.rs
index e934fe1c323..b47d7308941 100644
--- a/crates/hir-ty/src/consteval.rs
+++ b/crates/hir-ty/src/consteval.rs
@@ -339,7 +339,7 @@ pub fn eval_const(
                 ValueNs::GenericParam(_) => {
                     Err(ConstEvalError::NotSupported("const generic without substitution"))
                 }
-                ValueNs::EnumVariantId(id) => ctx.db.const_eval_variant(id), // TODO(ole): Assuming this is all that has to happen?
+                ValueNs::EnumVariantId(id) => ctx.db.const_eval_variant(id),
                 _ => Err(ConstEvalError::NotSupported("path that are not const or local")),
             }
         }