about summary refs log tree commit diff
path: root/library/core/src/char
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-03 19:58:57 +0100
committerRalf Jung <post@ralfj.de>2024-11-05 09:26:08 +0100
commit613f53ef19c94e461428dff1df3db7fe9bed5fb9 (patch)
tree5426407e68df748364964ebda32dc972320838f0 /library/core/src/char
parent56c6a2f9b1175b81835f6b3ed41bd6daffb3724e (diff)
downloadrust-613f53ef19c94e461428dff1df3db7fe9bed5fb9.tar.gz
rust-613f53ef19c94e461428dff1df3db7fe9bed5fb9.zip
add const_eval_select macro to reduce redundancy
also move internal const_panic helpers to a better location
Diffstat (limited to 'library/core/src/char')
-rw-r--r--library/core/src/char/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/char/methods.rs b/library/core/src/char/methods.rs
index 701e34b135e..3915afb49d6 100644
--- a/library/core/src/char/methods.rs
+++ b/library/core/src/char/methods.rs
@@ -1,7 +1,7 @@
 //! impl char {}
 
 use super::*;
-use crate::macros::const_panic;
+use crate::panic::const_panic;
 use crate::slice;
 use crate::str::from_utf8_unchecked_mut;
 use crate::unicode::printable::is_printable;