From 1c462e3c957e1d01f07f8b304618a8087fbcd40b Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Wed, 9 Oct 2024 20:17:58 -0400 Subject: [PATCH] add `fixme` --- benches/benchmark/lib/src/benchmark.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benches/benchmark/lib/src/benchmark.rs b/benches/benchmark/lib/src/benchmark.rs index 031767317..4dca55045 100644 --- a/benches/benchmark/lib/src/benchmark.rs +++ b/benches/benchmark/lib/src/benchmark.rs @@ -8,6 +8,9 @@ pub trait Benchmark { /// /// This is automatically implemented /// as the name of the [`Self`] type. + // + // FIXME: use `const` instead of `fn` when stable + // fn name() -> &'static str { std::any::type_name::() }