From 5c1723c9833c133e1af641533293e63d8723f8d3 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Mon, 22 Jan 2024 14:13:48 +0100 Subject: 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. --- components/shared/canvas/webgl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/shared/canvas/webgl.rs') diff --git a/components/shared/canvas/webgl.rs b/components/shared/canvas/webgl.rs index 2a2e0f0c3b3..820f3bc7925 100644 --- a/components/shared/canvas/webgl.rs +++ b/components/shared/canvas/webgl.rs @@ -111,10 +111,10 @@ pub struct WebGLCreateContextResult { /// Defines the WebGL version #[derive(Clone, Copy, Debug, Deserialize, Eq, MallocSizeOf, PartialEq, PartialOrd, Serialize)] pub enum WebGLVersion { - /// https://www.khronos.org/registry/webgl/specs/1.0.2/ + /// /// Conforms closely to the OpenGL ES 2.0 API WebGL1, - /// https://www.khronos.org/registry/webgl/specs/latest/2.0/ + /// /// Conforms closely to the OpenGL ES 3.0 API WebGL2, } -- cgit v1.2.3