mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-02-03 11:46:31 +00:00
add fixme
This commit is contained in:
parent
2e3e36c840
commit
1c462e3c95
1 changed files with 3 additions and 0 deletions
|
@ -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>()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue