Skip to content

Commit 912d716

Browse files
sprocklemMaeve Sproule
and
Maeve Sproule
authored
Correct spelling mistake in Position docs (#875)
The sentence in question was clearly intended to remark that the leading slash in the path is part of said path, but due to the missing "e" at the end of "Note", it (ungrammatically) says the opposite. Co-authored-by: Maeve Sproule <[email protected]>
1 parent 5f454e2 commit 912d716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/src/slicing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn test_count_digits() {
9393
///
9494
/// The end of a component and the start of the next are either the same or separate
9595
/// by a delimiter.
96-
/// (Not that the initial `/` of a path is considered part of the path here, not a delimiter.)
96+
/// (Note that the initial `/` of a path is considered part of the path here, not a delimiter.)
9797
/// For example, `&url[..BeforeFragment]` would include a `#` delimiter (if present in `url`),
9898
/// so `&url[..AfterQuery]` might be desired instead.
9999
///

0 commit comments

Comments
 (0)