Skip to content

Commit 3808661

Browse files
authored
fix doc string for SurfaceConfiguration::usage (gfx-rs#6668)
1 parent c933487 commit 3808661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wgpu-types/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5557,7 +5557,7 @@ impl Default for SurfaceCapabilities {
55575557
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
55585558
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
55595559
pub struct SurfaceConfiguration<V> {
5560-
/// The usage of the swap chain. The only supported usage is `RENDER_ATTACHMENT`.
5560+
/// The usage of the swap chain. The only usage guaranteed to be supported is `RENDER_ATTACHMENT`.
55615561
pub usage: TextureUsages,
55625562
/// The texture format of the swap chain. The only formats that are guaranteed are
55635563
/// `Bgra8Unorm` and `Bgra8UnormSrgb`

0 commit comments

Comments
 (0)