fix the 2nd

This commit is contained in:
Ferdinand Schober
2024-07-01 18:47:25 +02:00
parent a4cdc138f0
commit a038a24317

View File

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