Skip to content

Commit

Permalink
add fixme
Browse files Browse the repository at this point in the history
  • Loading branch information
hinto-janai committed Oct 10, 2024
1 parent 2e3e36c commit 1c462e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benches/benchmark/lib/src/benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
// <https://github.com/rust-lang/rust/issues/63084>
fn name() -> &'static str {
std::any::type_name::<Self>()
}
Expand Down

0 comments on commit 1c462e3

Please sign in to comment.