aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xrhand.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/xrhand.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/xrhand.rs')
-rw-r--r--components/script/dom/xrhand.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/xrhand.rs b/components/script/dom/xrhand.rs
index 6d232587f2e..23204f8ca57 100644
--- a/components/script/dom/xrhand.rs
+++ b/components/script/dom/xrhand.rs
@@ -41,12 +41,12 @@ impl XRHand {
}
impl XRHandMethods for XRHand {
- /// https://github.com/immersive-web/webxr-hands-input/blob/master/explainer.md
+ /// <https://github.com/immersive-web/webxr-hands-input/blob/master/explainer.md>
fn Length(&self) -> i32 {
XRHandConstants::LITTLE_PHALANX_TIP as i32 + 1
}
- /// https://github.com/immersive-web/webxr-hands-input/blob/master/explainer.md
+ /// <https://github.com/immersive-web/webxr-hands-input/blob/master/explainer.md>
fn IndexedGetter(&self, joint_index: u32) -> Option<DomRoot<XRJointSpace>> {
let joint = match joint_index {
XRHandConstants::WRIST => Joint::Wrist,