fix windows

This commit is contained in:
Ferdinand Schober
2024-07-01 17:34:28 +02:00
parent db2004fd02
commit a4cdc138f0

View File

@@ -41,7 +41,7 @@ impl Display for CaptureCreationError {
#[cfg(target_os = "macos")]
CaptureCreationError::Macos(e) => format!("{e}"),
#[cfg(windows)]
CaptureCreationError::Windows => format!(""),
CaptureCreationError::Windows => String::new(""),
CaptureCreationError::NoAvailableBackend => "no available backend".to_string(),
};
write!(f, "could not create input capture: {reason}")