Closed unv-annihilator closed 6 years ago
log
hex
client.rs
use hex::ToHex;
use hex::encode as hex_encode;
to_hex()
hex_encode()
cargo build --features "clippy"
lib.rs
examples\src\main.rs
&str
String
unwrap_or
unwrap_or_else
or_fun_call
README.md
Formatted with rustfmt-nightly v0.3.4 Linted with Clippy v0.0.179
Very good. Thank you for the contribution.
Log and Hex dependencies updated:
log
from version 0.3.8 to 0.4.1:hex
from version 0.2 to 0.3.1:client.rs
fromuse hex::ToHex;
to newuse hex::encode as hex_encode;
client.rs
oldto_hex()
to usehex_encode()
Clippy added as optional feature for development:
cargo build --features "clippy"
lib.rs
Clippy Lint Fixes:
examples\src\main.rs
to use&str
instead ofString
unwrap_or
followed by function intounwrap_or_else
to resolveor_fun_call
lintREADME.md:
README.md
to match latest changes to libraryREADME.md
README.md
Example Code:
examples\src\main.rs
to better matchREADME.md
changes made