File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 607f74df2ad6b6fb32ce5b862a9e48a8c4afdad2
3
- refs/heads/snap-stage3: 0eb552a835500ed964836a8e0e3111843bff8aa1
3
+ refs/heads/snap-stage3: c2fca7c95742cdd25198eae42d233d49db7026ea
4
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ pub fn from_u32(i: u32) -> Option<char> {
91
91
/// Converts a `u32` to an `char`, not checking whether it is a valid unicode
92
92
/// codepoint.
93
93
#[ inline]
94
+ #[ unstable( feature = "char_from_unchecked" , reason = "recently added API" ) ]
94
95
pub unsafe fn from_u32_unchecked ( i : u32 ) -> char {
95
96
transmute ( i)
96
97
}
Original file line number Diff line number Diff line change 209
209
#![ feature( borrow_state) ]
210
210
#![ feature( box_raw) ]
211
211
#![ feature( box_syntax) ]
212
+ #![ feature( char_from_unchecked) ]
212
213
#![ feature( char_internals) ]
213
214
#![ feature( clone_from_slice) ]
214
215
#![ feature( collections) ]
You can’t perform that action at this time.
0 commit comments