@@ -1290,11 +1290,11 @@ impl String {
1290
1290
/// Basic usage:
1291
1291
///
1292
1292
/// ```
1293
- /// let mut s = String::from("foo ");
1293
+ /// let mut s = String::from("abč ");
1294
1294
///
1295
- /// assert_eq!(s.pop(), Some('o '));
1296
- /// assert_eq!(s.pop(), Some('o '));
1297
- /// assert_eq!(s.pop(), Some('f '));
1295
+ /// assert_eq!(s.pop(), Some('č '));
1296
+ /// assert_eq!(s.pop(), Some('b '));
1297
+ /// assert_eq!(s.pop(), Some('a '));
1298
1298
///
1299
1299
/// assert_eq!(s.pop(), None);
1300
1300
/// ```
@@ -1324,11 +1324,11 @@ impl String {
1324
1324
/// Basic usage:
1325
1325
///
1326
1326
/// ```
1327
- /// let mut s = String::from("foo ");
1327
+ /// let mut s = String::from("abç ");
1328
1328
///
1329
- /// assert_eq!(s.remove(0), 'f ');
1330
- /// assert_eq!(s.remove(1), 'o ');
1331
- /// assert_eq!(s.remove(0), 'o ');
1329
+ /// assert_eq!(s.remove(0), 'a ');
1330
+ /// assert_eq!(s.remove(1), 'ç ');
1331
+ /// assert_eq!(s.remove(0), 'b ');
1332
1332
/// ```
1333
1333
#[ inline]
1334
1334
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
0 commit comments