Skip to content

Commit dbbafd5

Browse files
committed
rename assert_matches module
1 parent 9d61f06 commit dbbafd5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ mod macros;
184184
#[cfg(not(test))]
185185
#[unstable(feature = "assert_matches", issue = "82775")]
186186
/// Unstable module containing the unstable `assert_matches` macro.
187-
pub mod assert {
187+
pub mod assert_matches {
188188
#[unstable(feature = "assert_matches", issue = "82775")]
189189
pub use crate::macros::{assert_matches, debug_assert_matches};
190190
}

std/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,9 @@ pub use core::{
556556
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
557557
#[allow(deprecated)]
558558
pub use core::{
559-
asm, assert, cfg, column, compile_error, concat, concat_idents, env, file, format_args,
560-
format_args_nl, global_asm, include, include_bytes, include_str, line, llvm_asm, log_syntax,
561-
module_path, option_env, stringify, trace_macros,
559+
asm, assert, assert_matches, cfg, column, compile_error, concat, concat_idents, env, file,
560+
format_args, format_args_nl, global_asm, include, include_bytes, include_str, line, llvm_asm,
561+
log_syntax, module_path, option_env, stringify, trace_macros,
562562
};
563563

564564
#[stable(feature = "core_primitive", since = "1.43.0")]

0 commit comments

Comments
 (0)