Skip to content

Commit

Permalink
Remove labels in libstd/lib.rs macro imports
Browse files Browse the repository at this point in the history
These labels were probably moved around when rustfmt was introduced.
  • Loading branch information
yoshuawuyts committed Apr 5, 2020
1 parent e6cef04 commit 004ce25
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 004ce25

Please sign in to comment.