Skip to content

Commit

Permalink
Correct spelling mistake in Position docs (#875)
Browse files Browse the repository at this point in the history
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 <code@sprock.dev>
  • Loading branch information
sprocklem and Maeve Sproule committed Nov 10, 2023
1 parent 5f454e2 commit 912d716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url/src/slicing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn test_count_digits() {
///
/// The end of a component and the start of the next are either the same or separate
/// by a delimiter.
/// (Not that the initial `/` of a path is considered part of the path here, not a delimiter.)
/// (Note that the initial `/` of a path is considered part of the path here, not a delimiter.)
/// For example, `&url[..BeforeFragment]` would include a `#` delimiter (if present in `url`),
/// so `&url[..AfterQuery]` might be desired instead.
///
Expand Down

0 comments on commit 912d716

Please sign in to comment.