Răsfoiți Sursa

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>
sprock 2 ani în urmă
părinte
comite
912d716b04
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      url/src/slicing.rs

+ 1 - 1
url/src/slicing.rs

@@ -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.
 ///