Skip to content

Commit 23acf87

Browse files
authored
Rollup merge of rust-lang#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!
2 parents 534f8da + 004ce25 commit 23acf87

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/libstd/lib.rs

+2-14
Original file line numberDiff line numberDiff line change
@@ -517,20 +517,8 @@ pub use std_detect::detect;
517517
#[stable(feature = "rust1", since = "1.0.0")]
518518
#[allow(deprecated, deprecated_in_future)]
519519
pub use core::{
520-
// Stable
521-
assert_eq,
522-
assert_ne,
523-
debug_assert,
524-
debug_assert_eq,
525-
debug_assert_ne,
526-
// Unstable
527-
matches,
528-
r#try,
529-
todo,
530-
unimplemented,
531-
unreachable,
532-
write,
533-
writeln,
520+
assert_eq, assert_ne, debug_assert, debug_assert_eq, debug_assert_ne, matches, r#try, todo,
521+
unimplemented, unreachable, write, writeln,
534522
};
535523

536524
// Re-export built-in macros defined through libcore.

0 commit comments

Comments
 (0)