فهرست منبع

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 سال پیش
والد
کامیت
912d716b04
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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.
 ///