mirror of https://github.com/Aloxaf/silicon
Fix bug when compiling on non-linux system
This commit is contained in:
parent
975b4ba8fc
commit
b42be97f64
|
@ -281,5 +281,5 @@ pub fn dump_image_to_clipboard(image: &DynamicImage) -> Result<(), Error> {
|
|||
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
pub fn dump_image_to_clipboard(image: &DynamicImage) -> Result<(), Error> {
|
||||
format_err!("This feature hasn't been implemented in your system")
|
||||
Err(format_err!("This feature hasn't been implemented in your system"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue