]> git.lizzy.rs Git - rust.git/commitdiff
Removed unnecessary TODO
authorOleStrohm <strohm99@gmail.com>
Sat, 6 Aug 2022 16:52:35 +0000 (18:52 +0200)
committerOleStrohm <strohm99@gmail.com>
Mon, 12 Sep 2022 19:19:19 +0000 (20:19 +0100)
crates/hir-ty/src/consteval.rs

index e934fe1c3234cb3555d057ad6f0a84075aa4d473..b47d7308941f96fc5645dee60f4cfbb065301287 100644 (file)
@@ -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")),
             }
         }