File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b4a2823cd6c6f1a560469587f902f3a1f49d3c79
2
+ refs/heads/master: 252ef28593458b2479735b4f85c8568bb0f0a3d5
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
5
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05
Original file line number Diff line number Diff line change 14
14
15
15
#![ allow( non_snake_case) ]
16
16
#![ doc( primitive = "char" ) ]
17
- #![ stable( feature = "rust1 " , since = "1.0 .0" ) ]
17
+ #![ stable( feature = "core_char " , since = "1.2 .0" ) ]
18
18
19
19
use iter:: Iterator ;
20
20
use mem:: transmute;
@@ -225,6 +225,7 @@ impl CharExt for char {
225
225
#[ inline]
226
226
#[ unstable( feature = "char_internals" ,
227
227
reason = "this function should not be exposed publicly" ) ]
228
+ #[ doc( hidden) ]
228
229
pub fn encode_utf8_raw ( code : u32 , dst : & mut [ u8 ] ) -> Option < usize > {
229
230
// Marked #[inline] to allow llvm optimizing it away
230
231
if code < MAX_ONE_B && !dst. is_empty ( ) {
@@ -258,6 +259,7 @@ pub fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> Option<usize> {
258
259
#[ inline]
259
260
#[ unstable( feature = "char_internals" ,
260
261
reason = "this function should not be exposed publicly" ) ]
262
+ #[ doc( hidden) ]
261
263
pub fn encode_utf16_raw ( mut ch : u32 , dst : & mut [ u16 ] ) -> Option < usize > {
262
264
// Marked #[inline] to allow llvm optimizing it away
263
265
if ( ch & 0xFFFF ) == ch && !dst. is_empty ( ) {
You can’t perform that action at this time.
0 commit comments