File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ impl<E: Encoder> EStr<E> {
253253 /// ```
254254 pub fn split ( & self , delim : char ) -> Split < ' _ , E > {
255255 assert ! (
256- delim . is_ascii ( ) && table:: RESERVED . allows( delim) ,
256+ table:: RESERVED . allows( delim) ,
257257 "splitting with non-reserved character"
258258 ) ;
259259 Split {
@@ -288,7 +288,7 @@ impl<E: Encoder> EStr<E> {
288288 #[ must_use]
289289 pub fn split_once ( & self , delim : char ) -> Option < ( & Self , & Self ) > {
290290 assert ! (
291- delim . is_ascii ( ) && table:: RESERVED . allows( delim) ,
291+ table:: RESERVED . allows( delim) ,
292292 "splitting with non-reserved character"
293293 ) ;
294294 self . inner
@@ -322,7 +322,7 @@ impl<E: Encoder> EStr<E> {
322322 #[ must_use]
323323 pub fn rsplit_once ( & self , delim : char ) -> Option < ( & Self , & Self ) > {
324324 assert ! (
325- delim . is_ascii ( ) && table:: RESERVED . allows( delim) ,
325+ table:: RESERVED . allows( delim) ,
326326 "splitting with non-reserved character"
327327 ) ;
328328 self . inner
You can’t perform that action at this time.
0 commit comments