Fix capture method return type in Recorder trait (#14748)

This commit is contained in:
Leo Louis 2026-04-13 10:34:43 +05:30 committed by GitHub
parent 771cb4ebd7
commit a8dc6fc632
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ impl<'a> PixelProvider<'a> {
}
pub trait Recorder {
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider, Box<dyn Error>>;
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider<'_>, Box<dyn Error>>;
}
pub trait BoxCloneCapturable {