aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/shared/embedder/lib.rs2
-rw-r--r--components/shared/net/request.rs2
-rw-r--r--components/shared/script/lib.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/shared/embedder/lib.rs b/components/shared/embedder/lib.rs
index a03993359c4..da6eca45291 100644
--- a/components/shared/embedder/lib.rs
+++ b/components/shared/embedder/lib.rs
@@ -176,7 +176,7 @@ pub enum EmbedderMsg {
SetCursor(Cursor),
/// A favicon was detected
NewFavicon(ServoUrl),
- /// <head> tag finished parsing
+ /// `<head>` tag finished parsing
HeadParsed,
/// The history state has changed.
HistoryChanged(Vec<ServoUrl>, usize),
diff --git a/components/shared/net/request.rs b/components/shared/net/request.rs
index b1aa5fd0f04..f3fb7362c58 100644
--- a/components/shared/net/request.rs
+++ b/components/shared/net/request.rs
@@ -186,7 +186,7 @@ impl RequestBody {
}
}
- /// Step 12 of https://fetch.spec.whatwg.org/#concept-http-redirect-fetch
+ /// Step 12 of <https://fetch.spec.whatwg.org/#concept-http-redirect-fetch>
pub fn extract_source(&mut self) {
match self.source {
BodySource::Null => panic!("Null sources should never be re-directed."),
diff --git a/components/shared/script/lib.rs b/components/shared/script/lib.rs
index f39089cf3a0..8dd065a883f 100644
--- a/components/shared/script/lib.rs
+++ b/components/shared/script/lib.rs
@@ -1350,6 +1350,6 @@ pub enum GamepadUpdateType {
/// <https://www.w3.org/TR/gamepad/#dfn-represents-a-standard-gamepad-axis>
Axis(usize, f64),
/// Button index and input value
- /// <https://www.w3.org/TR/gamepad/#dfn-represents-a-standard-gamepad-button
+ /// <https://www.w3.org/TR/gamepad/#dfn-represents-a-standard-gamepad-button>
Button(usize, f64),
}