diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-01-22 14:13:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 13:13:48 +0000 |
commit | 5c1723c9833c133e1af641533293e63d8723f8d3 (patch) | |
tree | c37778936ee0ffe88379632f5627cbb18710acda /components/script/dom/xrray.rs | |
parent | d7de206dbd459e8c8bf121f73755d12569c6cc55 (diff) | |
download | servo-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/xrray.rs')
-rw-r--r-- | components/script/dom/xrray.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/xrray.rs b/components/script/dom/xrray.rs index 6c6cfb0074f..62d1d1aa6eb 100644 --- a/components/script/dom/xrray.rs +++ b/components/script/dom/xrray.rs @@ -48,7 +48,7 @@ impl XRRay { } #[allow(non_snake_case)] - /// https://immersive-web.github.io/hit-test/#dom-xrray-xrray + /// <https://immersive-web.github.io/hit-test/#dom-xrray-xrray> pub fn Constructor( window: &Window, proto: Option<HandleObject>, @@ -83,7 +83,7 @@ impl XRRay { } #[allow(non_snake_case)] - /// https://immersive-web.github.io/hit-test/#dom-xrray-xrray-transform + /// <https://immersive-web.github.io/hit-test/#dom-xrray-xrray-transform> pub fn Constructor_( window: &Window, proto: Option<HandleObject>, @@ -108,7 +108,7 @@ impl XRRay { } impl XRRayMethods for XRRay { - /// https://immersive-web.github.io/hit-test/#dom-xrray-origin + /// <https://immersive-web.github.io/hit-test/#dom-xrray-origin> fn Origin(&self) -> DomRoot<DOMPointReadOnly> { DOMPointReadOnly::new( &self.global(), @@ -119,7 +119,7 @@ impl XRRayMethods for XRRay { ) } - /// https://immersive-web.github.io/hit-test/#dom-xrray-direction + /// <https://immersive-web.github.io/hit-test/#dom-xrray-direction> fn Direction(&self) -> DomRoot<DOMPointReadOnly> { DOMPointReadOnly::new( &self.global(), @@ -130,7 +130,7 @@ impl XRRayMethods for XRRay { ) } - /// https://immersive-web.github.io/hit-test/#dom-xrray-matrix + /// <https://immersive-web.github.io/hit-test/#dom-xrray-matrix> fn Matrix(&self, _cx: JSContext) -> Float32Array { // https://immersive-web.github.io/hit-test/#xrray-obtain-the-matrix if !self.matrix.is_initialized() { |