From 37d408c8b268fc3b112cae9c5a5661c247f4c1db Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Wed, 30 Aug 2023 16:16:39 -0700 Subject: [PATCH] Fmt pass --- src/host/wasapi/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/wasapi/device.rs b/src/host/wasapi/device.rs index f1f310c41..6f641c91b 100644 --- a/src/host/wasapi/device.rs +++ b/src/host/wasapi/device.rs @@ -442,7 +442,7 @@ impl Device { // If the default format can't succeed we have no hope of finding other formats. if !is_format_supported(client, default_waveformatex_ptr.0)? { - let description = + let description = "Could not determine support for default `WAVEFORMATEX`".to_string(); let err = BackendSpecificError { description }; return Err(err.into());