From f83728fea048a1505cee48f196ce3038f49e6910 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Thu, 4 Nov 2021 16:10:23 -0500 Subject: [PATCH] Fix typo in url module docs "Refenence" -> "Reference" --- src/browser/url.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/browser/url.rs b/src/browser/url.rs index 125f5f4d..ddcae663 100644 --- a/src/browser/url.rs +++ b/src/browser/url.rs @@ -207,7 +207,7 @@ impl Url { /// Url::new().set_path(&["my", "path"]) /// ``` /// - /// # Refenences + /// # References /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname) pub fn set_path( mut self, @@ -230,7 +230,7 @@ impl Url { /// Url::new().set_hash_path(&["my", "path"]) /// ``` /// - /// # Refenences + /// # References /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname) pub fn set_hash_path( mut self, @@ -274,7 +274,7 @@ impl Url { /// ]) /// ``` /// - /// # Refenences + /// # References /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/search) pub fn set_search(mut self, search: impl Into) -> Self { self.search = search.into(); @@ -283,7 +283,7 @@ impl Url { /// Get path. /// - /// # Refenences + /// # References /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname) pub fn path(&self) -> &[String] { &self.path @@ -305,7 +305,7 @@ impl Url { /// Get search. /// - /// # Refenences + /// # References /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/search) pub const fn search(&self) -> &UrlSearch { &self.search @@ -313,7 +313,7 @@ impl Url { /// Get mutable search. /// - /// # Refenences + /// # References /// * [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/URL/search) pub fn search_mut(&mut self) -> &mut UrlSearch { &mut self.search