Update src/libcore/macros.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
parent
8e3b9d2118
commit
560bf1ba0c
1 changed files with 1 additions and 1 deletions
|
|
@ -618,7 +618,7 @@ macro_rules! unimplemented {
|
|||
/// }
|
||||
/// ```
|
||||
#[macro_export]
|
||||
#[stable(feature = "todo_macro", since = "1.37.0")]
|
||||
#[stable(feature = "todo_macro", since = "1.38.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