Skip to content

Commit

Permalink
Correct the todo! stabilization version
Browse files Browse the repository at this point in the history
  • Loading branch information
meithecatte committed Dec 19, 2019
1 parent 0de96d3 commit df93bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libcore/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ macro_rules! unimplemented {
/// }
/// ```
#[macro_export]
#[stable(feature = "todo_macro", since = "1.39.0")]
#[stable(feature = "todo_macro", since = "1.40.0")]
macro_rules! todo {
() => (panic!("not yet implemented"));
($($arg:tt)+) => (panic!("not yet implemented: {}", $crate::format_args!($($arg)+)));
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ pub use core::{
unreachable,
write,
writeln,
// Unstable
todo,
// Unstable
matches,
};

Expand Down

0 comments on commit df93bab

Please sign in to comment.