Skip to content

Commit a8dc6fc

Browse files
authored
Fix capture method return type in Recorder trait (rustdesk#14748)
1 parent 771cb4e commit a8dc6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/scrap/src/wayland/capturable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl<'a> PixelProvider<'a> {
2424
}
2525

2626
pub trait Recorder {
27-
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider, Box<dyn Error>>;
27+
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider<'_>, Box<dyn Error>>;
2828
}
2929

3030
pub trait BoxCloneCapturable {

0 commit comments

Comments
 (0)