add fixme

This commit is contained in:
hinto.janai 2024-10-09 20:17:58 -04:00
parent 2e3e36c840
commit 1c462e3c95
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -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>()
}