mirror of
https://github.com/servo/rust-url
synced 2024-10-18 05:52:20 +00:00
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 <code@sprock.dev>
This commit is contained in:
parent
5f454e2031
commit
912d716b04
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue