-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
https://github.com/rarewin/rust-coreutils/actions/runs/155589096
19 | | .value_of("wrap")
20 | | .ok_or_else(|| Base64Error::InvalidParam("--wrap".to_string()))?
21 | | .parse::<usize>()
22 | | .or_else(|_| Err(Error::new(Base64Error::InvalidParam("--wrap".to_string()))))?;
| |______________________________________________________________________________________^
|
= note: `-D clippy::bind-instead-of-map` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try this
|
18 | let wrap = m
19 | .value_of("wrap")
20 | .ok_or_else(|| Base64Error::InvalidParam("--wrap".to_string()))?
21 | .parse::<usize>().map_err(|_| Error::new(Base64Error::InvalidParam("--wrap".to_string())))?;
|
error: aborting due to previous error
##[error]aborting due to previous error
error: could not compile `rust-coreutils`.
##[error]could not compile `rust-coreutils`.
To learn more, run the command again with --verbose.
##[error]The process '/usr/share/rust/.cargo/bin/cargo' failed with exit code 101
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels