]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/str.rs
Remove unchecked inline attribute, remove unused functions, make chache mod private...
[rust.git] / src / liballoc / str.rs
index 9231c2d3f1d56e40546f002128b3cd412bd08243..83816d8b954c4dbbd7e3e0ccf3c76185319a5fc8 100644 (file)
@@ -456,7 +456,7 @@ pub fn to_uppercase(&self) -> String {
                 }
             }
         }
-        return s;
+        s
     }
 
     /// Converts a [`Box<str>`] into a [`String`] without copying or allocating.