Skip to content

Commit 004ce25

Browse files
committed
Remove labels in libstd/lib.rs macro imports
These labels were probably moved around when rustfmt was introduced.
1 parent e6cef04 commit 004ce25

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)