reujab / wallpaper.rs

A cross-platform Rust library for getting and setting desktop wallpapers
The Unlicense
96 stars 24 forks source link

Fixed `use` in macos #8

Closed rawnly closed 3 years ago

rawnly commented 3 years ago
error[E0412]: cannot find type `Mode` in this scope
  --> src/macos.rs:32:20
   |
32 | pub fn set_mode(_: Mode) -> Result<()> {
   |                    ^^^^ not found in this scope
   |
help: consider importing this enum
   |
1  | use Mode;
   |

error: aborting due to previous error