From c3922d53d71ecec89f7d027593fa8c356062e483 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Tue, 24 Jun 2025 12:48:13 -0400 Subject: [PATCH] docs(types): Make docs. on `DeviceLostReason` variants less terse --- wgpu-types/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 7915b8802..3cd9fa547 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -7749,9 +7749,9 @@ mod send_sync { #[derive(Debug, Copy, Clone, Eq, PartialEq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] pub enum DeviceLostReason { - /// Triggered by driver + /// The device was lost for an unspecific reason, including driver errors. Unknown = 0, - /// After `Device::destroy` + /// The device's `destroy` method was called. Destroyed = 1, }