I am trying to use a structure Optionsin a box getoptsthat exists according to the Rust book.
The code I'm running is this.
let mut opts = getopts::Options::new();
When creating a project, the compiler generates an error
let mut opts = getopts::Options::new();
^^^^^^^^^^^^^^^^^^^^^ Could not find `Options in `getopts`
How do i solve this? I am using the nightly version of Rust.
source
share