Skip to content

Commit e2247ff

Browse files
committed
---
yaml --- r: 213006 b: refs/heads/master c: 252ef28 h: refs/heads/master v: v3
1 parent afdbe53 commit e2247ff

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b4a2823cd6c6f1a560469587f902f3a1f49d3c79
2+
refs/heads/master: 252ef28593458b2479735b4f85c8568bb0f0a3d5
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05

trunk/src/libcore/char.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
#![allow(non_snake_case)]
1616
#![doc(primitive = "char")]
17-
#![stable(feature = "rust1", since = "1.0.0")]
17+
#![stable(feature = "core_char", since = "1.2.0")]
1818

1919
use iter::Iterator;
2020
use mem::transmute;
@@ -225,6 +225,7 @@ impl CharExt for char {
225225
#[inline]
226226
#[unstable(feature = "char_internals",
227227
reason = "this function should not be exposed publicly")]
228+
#[doc(hidden)]
228229
pub fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> Option<usize> {
229230
// Marked #[inline] to allow llvm optimizing it away
230231
if code < MAX_ONE_B && !dst.is_empty() {
@@ -258,6 +259,7 @@ pub fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> Option<usize> {
258259
#[inline]
259260
#[unstable(feature = "char_internals",
260261
reason = "this function should not be exposed publicly")]
262+
#[doc(hidden)]
261263
pub fn encode_utf16_raw(mut ch: u32, dst: &mut [u16]) -> Option<usize> {
262264
// Marked #[inline] to allow llvm optimizing it away
263265
if (ch & 0xFFFF) == ch && !dst.is_empty() {

0 commit comments

Comments
 (0)