@@ -1164,7 +1164,7 @@ impl PathBuf {
1164
1164
///
1165
1165
/// [`with_capacity`]: ../ffi/struct.OsString.html#method.with_capacity
1166
1166
/// [`OsString`]: ../ffi/struct.OsString.html
1167
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1167
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1168
1168
pub fn with_capacity ( capacity : usize ) -> PathBuf {
1169
1169
PathBuf {
1170
1170
inner : OsString :: with_capacity ( capacity)
@@ -1404,7 +1404,7 @@ impl PathBuf {
1404
1404
///
1405
1405
/// [`capacity`]: ../ffi/struct.OsString.html#method.capacity
1406
1406
/// [`OsString`]: ../ffi/struct.OsString.html
1407
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1407
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1408
1408
pub fn capacity ( & self ) -> usize {
1409
1409
self . inner . capacity ( )
1410
1410
}
@@ -1413,7 +1413,7 @@ impl PathBuf {
1413
1413
///
1414
1414
/// [`clear`]: ../ffi/struct.OsString.html#method.clear
1415
1415
/// [`OsString`]: ../ffi/struct.OsString.html
1416
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1416
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1417
1417
pub fn clear ( & mut self ) {
1418
1418
self . inner . clear ( )
1419
1419
}
@@ -1422,7 +1422,7 @@ impl PathBuf {
1422
1422
///
1423
1423
/// [`reserve`]: ../ffi/struct.OsString.html#method.reserve
1424
1424
/// [`OsString`]: ../ffi/struct.OsString.html
1425
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1425
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1426
1426
pub fn reserve ( & mut self , additional : usize ) {
1427
1427
self . inner . reserve ( additional)
1428
1428
}
@@ -1431,7 +1431,7 @@ impl PathBuf {
1431
1431
///
1432
1432
/// [`reserve_exact`]: ../ffi/struct.OsString.html#method.reserve_exact
1433
1433
/// [`OsString`]: ../ffi/struct.OsString.html
1434
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1434
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1435
1435
pub fn reserve_exact ( & mut self , additional : usize ) {
1436
1436
self . inner . reserve_exact ( additional)
1437
1437
}
@@ -1440,7 +1440,7 @@ impl PathBuf {
1440
1440
///
1441
1441
/// [`shrink_to_fit`]: ../ffi/struct.OsString.html#method.shrink_to_fit
1442
1442
/// [`OsString`]: ../ffi/struct.OsString.html
1443
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1443
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1444
1444
pub fn shrink_to_fit ( & mut self ) {
1445
1445
self . inner . shrink_to_fit ( )
1446
1446
}
@@ -1449,7 +1449,7 @@ impl PathBuf {
1449
1449
///
1450
1450
/// [`shrink_to`]: ../ffi/struct.OsString.html#method.shrink_to
1451
1451
/// [`OsString`]: ../ffi/struct.OsString.html
1452
- #[ unstable( feature = "path_buf_alias_os_string_methods " , issue = "58234" ) ]
1452
+ #[ unstable( feature = "path_buf_capacity " , issue = "58234" ) ]
1453
1453
pub fn shrink_to ( & mut self , min_capacity : usize ) {
1454
1454
self . inner . shrink_to ( min_capacity)
1455
1455
}
0 commit comments