Rollup merge of #70824 - yoshuawuyts:fix-labels-in-std-macro-imports, r=Mark-Simulacrum
Remove marker comments in libstd/lib.rs macro imports These comments were probably moved around when rustfmt was introduced. They don't correctly denote what they were intended for, so I propose we remove them instead. Thanks!
This commit is contained in:
commit
23acf87fa0
1 changed files with 2 additions and 14 deletions
|
@ -517,20 +517,8 @@ pub use std_detect::detect;
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[allow(deprecated, deprecated_in_future)]
|
||||
pub use core::{
|
||||
// Stable
|
||||
assert_eq,
|
||||
assert_ne,
|
||||
debug_assert,
|
||||
debug_assert_eq,
|
||||
debug_assert_ne,
|
||||
// Unstable
|
||||
matches,
|
||||
r#try,
|
||||
todo,
|
||||
unimplemented,
|
||||
unreachable,
|
||||
write,
|
||||
writeln,
|
||||
assert_eq, assert_ne, debug_assert, debug_assert_eq, debug_assert_ne, matches, r#try, todo,
|
||||
unimplemented, unreachable, write, writeln,
|
||||
};
|
||||
|
||||
// Re-export built-in macros defined through libcore.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue