@@ -49,34 +49,34 @@ impl NonEmptyString {
4949 delegate ! {
5050 to self . 0 {
5151 /// Is forwarded to the inner String.
52- /// See [`std::string:: String::into_bytes`]
52+ /// See [`String::into_bytes`]
5353 pub fn into_bytes( self ) -> Vec <u8 >;
5454
5555 /// Is forwarded to the inner String.
56- /// See [`std::string:: String::as_str`]
56+ /// See [`String::as_str`]
5757 pub fn as_str( & self ) -> & str ;
5858
5959 /// Is forwarded to the inner String.
60- /// See [`std::string:: String::push_str`]
60+ /// See [`String::push_str`]
6161 pub fn push_str( & mut self , string: & str ) ;
6262
6363 /// Is forwarded to the inner String.
64- /// See [`std::string:: String::capacity`]
64+ /// See [`String::capacity`]
6565 pub fn capacity( & self ) -> usize ;
6666
6767 /// Is forwarded to the inner String.
68- /// See [`std::string:: String::reserve`]
68+ /// See [`String::reserve`]
6969 pub fn reserve( & mut self , additional: usize ) ;
7070
7171 /// Is forwarded to the inner String.
72- /// See [`std::string:: String::reserve_exact`]
72+ /// See [`String::reserve_exact`]
7373 pub fn reserve_exact( & mut self , additional: usize ) ;
7474
7575 // For some reason we cannot delegate the following:
7676 // pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError>
7777
7878 /// Is forwarded to the inner String.
79- /// See [`std::string:: String::try_reserve_exact`]
79+ /// See [`String::try_reserve_exact`]
8080 pub fn try_reserve_exact(
8181 & mut self ,
8282 additional: usize
@@ -87,31 +87,31 @@ impl NonEmptyString {
8787 pub fn shrink_to_fit( & mut self ) ;
8888
8989 /// Is forwarded to the inner String.
90- /// See [`std::string:: String::shrink_to`]
90+ /// See [`String::shrink_to`]
9191 pub fn shrink_to( & mut self , min_capacity: usize ) ;
9292
9393 /// Is forwarded to the inner String.
94- /// See [`std::string:: String::push`]
94+ /// See [`String::push`]
9595 pub fn push( & mut self , ch: char ) ;
9696
9797 /// Is forwarded to the inner String.
98- /// See [`std::string:: String::as_bytes`]
98+ /// See [`String::as_bytes`]
9999 pub fn as_bytes( & self ) -> & [ u8 ] ;
100100
101101 /// Is forwarded to the inner String.
102- /// See [`std::string:: String::insert`]
102+ /// See [`String::insert`]
103103 pub fn insert( & mut self , idx: usize , ch: char ) ;
104104
105105 /// Is forwarded to the inner String.
106- /// See [`std::string:: String::insert_str`]
106+ /// See [`String::insert_str`]
107107 pub fn insert_str( & mut self , idx: usize , string: & str ) ;
108108
109109 /// Is forwarded to the inner String.
110- /// See [`std::string:: String::len`]
110+ /// See [`String::len`]
111111 pub fn len( & self ) -> usize ;
112112
113113 /// Is forwarded to the inner String.
114- /// See [`std::string:: String::into_boxed_str`]
114+ /// See [`String::into_boxed_str`]
115115 pub fn into_boxed_str( self ) -> Box <str >;
116116 }
117117 }
0 commit comments