From 022f0412921f81794c16435cc7dc58110f205ee1 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sun, 21 Dec 2025 11:22:46 -0800 Subject: [PATCH] Markdown fixes. --- wgpu-types/src/lib.rs | 2 +- wgpu/src/api/queue.rs | 2 +- wgpu/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 8f8d76c39..8501a6c82 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -123,7 +123,7 @@ macro_rules! link_to_wgpu_docs { macro_rules! link_to_wgpu_item { ($kind:ident $name:ident) => { $crate::link_to_wgpu_docs!( - [concat!("`", stringify!($name), "`")]: concat!("$kind.", stringify!($name), ".html") + [concat!("`", stringify!($name), "`")]: concat!(stringify!($kind), ".", stringify!($name), ".html") ) }; } diff --git a/wgpu/src/api/queue.rs b/wgpu/src/api/queue.rs index 0e52863eb..bbe7af205 100644 --- a/wgpu/src/api/queue.rs +++ b/wgpu/src/api/queue.rs @@ -267,7 +267,7 @@ impl Queue { /// /// Returns zero if timestamp queries are unsupported. /// - /// Timestamp values are represented in nanosecond values on WebGPU, see `` + /// Timestamp values are represented in nanosecond values on WebGPU, see /// Therefore, this is always 1.0 on the web, but on wgpu-core a manual conversion is required. pub fn get_timestamp_period(&self) -> f32 { self.inner.get_timestamp_period() diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 167b6f5b9..4202fb8ee 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -69,7 +69,7 @@ //! complicated cases. //! //! - **`wgpu_core`** --- Enabled when there is any non-webgpu backend enabled on the platform. -//! - **`naga`** --- Enabled when target `glsl` or `spirv`` input is enabled, or when `wgpu_core` is enabled. +//! - **`naga`** --- Enabled when target `glsl` or `spirv` input is enabled, or when `wgpu_core` is enabled. //! #![no_std]