Markdown fixes.

This commit is contained in:
Kevin Reid authored and Connor Fitzgerald committed 2025-12-22 21:01:26 -05:00
1 parent 490f1f4153
commit 022f041292
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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")
)
};
}
+1 -1
View File
@@ -267,7 +267,7 @@ impl Queue {
///
/// Returns zero if timestamp queries are unsupported.
///
/// Timestamp values are represented in nanosecond values on WebGPU, see `<https://gpuweb.github.io/gpuweb/#timestamp>`
/// Timestamp values are represented in nanosecond values on WebGPU, see <https://gpuweb.github.io/gpuweb/#timestamp>
/// 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()
+1 -1
View File
@@ -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]