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/xrwebglsubimage.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/xrwebglsubimage.rs')
-rw-r--r-- | components/script/dom/xrwebglsubimage.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/xrwebglsubimage.rs b/components/script/dom/xrwebglsubimage.rs index 19726128087..6a224e25839 100644 --- a/components/script/dom/xrwebglsubimage.rs +++ b/components/script/dom/xrwebglsubimage.rs @@ -22,27 +22,27 @@ pub struct XRWebGLSubImage { } impl XRWebGLSubImageMethods for XRWebGLSubImage { - /// https://immersive-web.github.io/layers/#dom-xrwebglsubimage-colortexture + /// <https://immersive-web.github.io/layers/#dom-xrwebglsubimage-colortexture> fn ColorTexture(&self) -> DomRoot<WebGLTexture> { DomRoot::from_ref(&self.color_texture) } - /// https://immersive-web.github.io/layers/#dom-xrwebglsubimage-depthstenciltexture + /// <https://immersive-web.github.io/layers/#dom-xrwebglsubimage-depthstenciltexture> fn GetDepthStencilTexture(&self) -> Option<DomRoot<WebGLTexture>> { self.depth_stencil_texture.as_deref().map(DomRoot::from_ref) } - /// https://immersive-web.github.io/layers/#dom-xrwebglsubimage-imageindex + /// <https://immersive-web.github.io/layers/#dom-xrwebglsubimage-imageindex> fn GetImageIndex(&self) -> Option<u32> { self.image_index } - /// https://immersive-web.github.io/layers/#dom-xrwebglsubimage-texturewidth + /// <https://immersive-web.github.io/layers/#dom-xrwebglsubimage-texturewidth> fn TextureWidth(&self) -> u32 { self.size.width } - /// https://immersive-web.github.io/layers/#dom-xrwebglsubimage-textureheight + /// <https://immersive-web.github.io/layers/#dom-xrwebglsubimage-textureheight> fn TextureHeight(&self) -> u32 { self.size.height } |