Update macros.rs
This commit is contained in:
parent
560bf1ba0c
commit
711f6735bc
1 changed files with 1 additions and 1 deletions
|
|
@ -618,7 +618,7 @@ macro_rules! unimplemented {
|
|||
/// }
|
||||
/// ```
|
||||
#[macro_export]
|
||||
#[stable(feature = "todo_macro", since = "1.38.0")]
|
||||
#[stable(feature = "todo_macro", since = "1.39.0")]
|
||||
macro_rules! todo {
|
||||
() => (panic!("not yet implemented"));
|
||||
($($arg:tt)+) => (panic!("not yet implemented: {}", format_args!($($arg)*)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue