mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Remove flame_note! macro
This commit is contained in:
@@ -273,14 +273,3 @@ macro_rules! flame_guard {
|
||||
let _guard = ::flame::start_guard($name);
|
||||
};
|
||||
}
|
||||
|
||||
macro_rules! flame_note {
|
||||
($name:expr, $desc:expr$(,)?) => {
|
||||
#[cfg(feature = "flame-it")]
|
||||
::flame::note($name, ::std::option::Option::Some($desc));
|
||||
};
|
||||
($name:expr$(,)?) => {
|
||||
#[cfg(feature = "flame-it")]
|
||||
::flame::note($name, ::std::option::Option::None);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user