aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/rtcicecandidate.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-01-22 14:13:48 +0100
committerGitHub <noreply@github.com>2024-01-22 13:13:48 +0000
commit5c1723c9833c133e1af641533293e63d8723f8d3 (patch)
treec37778936ee0ffe88379632f5627cbb18710acda /components/script/dom/rtcicecandidate.rs
parentd7de206dbd459e8c8bf121f73755d12569c6cc55 (diff)
downloadservo-5c1723c9833c133e1af641533293e63d8723f8d3.tar.gz
servo-5c1723c9833c133e1af641533293e63d8723f8d3.zip
rustdoc: Fix many rustdoc errors (#31147)
This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
Diffstat (limited to 'components/script/dom/rtcicecandidate.rs')
-rw-r--r--components/script/dom/rtcicecandidate.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/rtcicecandidate.rs b/components/script/dom/rtcicecandidate.rs
index 8d190662723..d39b853f36c 100644
--- a/components/script/dom/rtcicecandidate.rs
+++ b/components/script/dom/rtcicecandidate.rs
@@ -100,27 +100,27 @@ impl RTCIceCandidate {
}
impl RTCIceCandidateMethods for RTCIceCandidate {
- /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-candidate
+ /// <https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-candidate>
fn Candidate(&self) -> DOMString {
self.candidate.clone()
}
- /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-sdpmid
+ /// <https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-sdpmid>
fn GetSdpMid(&self) -> Option<DOMString> {
self.sdp_m_id.clone()
}
- /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-sdpmlineindex
+ /// <https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-sdpmlineindex>
fn GetSdpMLineIndex(&self) -> Option<u16> {
self.sdp_m_line_index.clone()
}
- /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-usernamefragment
+ /// <https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-usernamefragment>
fn GetUsernameFragment(&self) -> Option<DOMString> {
self.username_fragment.clone()
}
- /// https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-tojson
+ /// <https://w3c.github.io/webrtc-pc/#dom-rtcicecandidate-tojson>
fn ToJSON(&self) -> RTCIceCandidateInit {
RTCIceCandidateInit {
candidate: self.candidate.clone(),