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 @@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 0eb552a835500ed964836a8e0e3111843bff8aa1
32
+ refs/heads/stable: c2fca7c95742cdd25198eae42d233d49db7026ea
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
35
35
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e
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