]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #85207 - andrewhalle:typo-rootseparator, r=kennytm
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 15 May 2021 11:29:48 +0000 (13:29 +0200)
committerGitHub <noreply@github.com>
Sat, 15 May 2021 11:29:48 +0000 (13:29 +0200)
Fix typo in comment

missing space in "rootseparator"

library/std/src/path.rs

index ed0987064e8f744d0473f1619f132c6662aad0c1..cbe14767bd3e7f7e2513e8c60ed3d1b1af19b9c5 100644 (file)
@@ -569,7 +569,7 @@ pub struct Components<'a> {
     prefix: Option<Prefix<'a>>,
 
     // true if path *physically* has a root separator; for most Windows
-    // prefixes, it may have a "logical" rootseparator for the purposes of
+    // prefixes, it may have a "logical" root separator for the purposes of
     // normalization, e.g.,  \\server\share == \\server\share\.
     has_physical_root: bool,