MortalreminderPT / edit-xlsx

A quick and easy-to-use Rust library for Excel file editing.
https://crates.io/crates/edit-xlsx
16 stars 4 forks source link

Checking edit-xlsx v0.4.5 error[E0599]: no method named `exportunwrap` found for enum `Result` in the current scope #25

Closed mschnell1 closed 2 weeks ago

mschnell1 commented 2 weeks ago

I get

    Checking edit-xlsx v0.4.5
error[E0599]: no method named `exportunwrap` found for enum `Result` in the current scope
   --> C:\Users\mschnell\.cargo\registry\src\index.crates.io-6f17d22bba15001f\edit-xlsx-0.4.5\src\xml\relationships.rs:139:67
    |
139 |         let target_id: u32 = target[16..target.len() - 4].parse().exportunwrap();
    |                                                                   ^^^^^^^^^^^^
    |
help: there is a method `unwrap` with a similar name
    |
139 |         let target_id: u32 = target[16..target.len() - 4].parse().unwrap();
    |                                                                   ~~~~~~
mschnell1 commented 2 weeks ago

mended by deleting the folder

\.cargo\registry\src\index.crates.io-6f17d22bba15001f\edit-xlsx-0.4.5\

and forcing a re-download.

Something like this (a word inserted in the crate's source code) also happened some weeks ago :(

No idea what is the reason....