birkenfeld / fddf

Fast data dupe finder
Apache License 2.0
114 stars 7 forks source link

Fix compile error[E0308] (mismatched types) on Windows #19

Closed sss closed 4 years ago

sss commented 4 years ago

After birkenfeld/fddf@742ade72e1e6291dea38a9df170532cc15c0cf4e, fddf won't compile on Windows with the following error message:

error[E0308]: mismatched types
   --> src\main.rs:306:69
    |
306 | ...                   if check_inode(&mut inodes, &meta) {
    |                                                   ^^^^^ expected struct `std::vec::Vec`, found struct `std::fs::Metadata`
    |
    = note: expected type `&std::vec::Vec<()>`
               found type `&std::fs::Metadata`
birkenfeld commented 4 years ago

Oops, sorry. Not sure what I was trying to do there.

birkenfeld commented 4 years ago

v1.6.1 released with this fix.

sss commented 4 years ago

Thank you for another new release.

Also confirmed cargo install fddf does install v1.6.1 :clap: