]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in comment
authorAndrew Halle <ahalle@berkeley.edu>
Wed, 12 May 2021 01:13:01 +0000 (18:13 -0700)
committerAndrew Halle <ahalle@berkeley.edu>
Wed, 12 May 2021 01:13:01 +0000 (18:13 -0700)
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,