about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Halle <ahalle@berkeley.edu>2021-05-11 18:13:01 -0700
committerAndrew Halle <ahalle@berkeley.edu>2021-05-11 18:13:01 -0700
commit3c06f009854cab9ca8fda48f353c4e8750d51faf (patch)
tree8bc6f6b4c2459eda8c8f563f698f4e2aff5d9f95
parent5c029265465301fe9cb3960ce2a5da6c99b8dcf2 (diff)
downloadrust-3c06f009854cab9ca8fda48f353c4e8750d51faf.tar.gz
rust-3c06f009854cab9ca8fda48f353c4e8750d51faf.zip
Fix typo in comment
missing space in "rootseparator"
-rw-r--r--library/std/src/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs
index ed0987064e8..cbe14767bd3 100644
--- a/library/std/src/path.rs
+++ b/library/std/src/path.rs
@@ -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,