[no description]
oopsies
| -rw-r--r-- | src/xp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -402,7 +402,7 @@ pub const fn shr( /// initial value in the conversion, and returns the first nonzero carry-out /// of the conversion step. If end≠null, *end points to the character in /// str that terminated the scan or produced a nonzero carry. -fn from_str(n: u32, z: &mut XP, base: u8, str: &[u8]) -> u8 { +const fn from_str(n: u32, z: &mut XP, base: u8, str: &[u8]) -> u8 { assert!(base < 36); let mut i = 0; while i < str.len() { |