Skip to content

Commit d8deefa

Browse files
committed
Resolve conflicts
1 parent 74532dc commit d8deefa

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

library/core/src/char/convert.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ pub(super) const fn from_u32(i: u32) -> Option<char> {
2525
/// Converts a `u32` to a `char`, ignoring validity. See [`char::from_u32_unchecked`].
2626
#[inline]
2727
#[must_use]
28-
<<<<<<< HEAD
28+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
2929
#[requires(char_try_from_u32(i).is_ok())]
3030
#[ensures(|result| *result as u32 == i)]
31-
=======
32-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
33-
>>>>>>> subtree/library
3431
pub(super) const unsafe fn from_u32_unchecked(i: u32) -> char {
3532
// SAFETY: the caller must guarantee that `i` is a valid char value.
3633
unsafe {

0 commit comments

Comments
 (0)