diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-03 19:58:57 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-05 09:26:08 +0100 |
| commit | 613f53ef19c94e461428dff1df3db7fe9bed5fb9 (patch) | |
| tree | 5426407e68df748364964ebda32dc972320838f0 /library/core/src/num/mod.rs | |
| parent | 56c6a2f9b1175b81835f6b3ed41bd6daffb3724e (diff) | |
| download | rust-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/num/mod.rs')
| -rw-r--r-- | library/core/src/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs index f4930ca5c7d..5a69dc0c724 100644 --- a/library/core/src/num/mod.rs +++ b/library/core/src/num/mod.rs @@ -2,7 +2,7 @@ #![stable(feature = "rust1", since = "1.0.0")] -use crate::macros::const_panic; +use crate::panic::const_panic; use crate::str::FromStr; use crate::ub_checks::assert_unsafe_precondition; use crate::{ascii, intrinsics, mem}; |
