Closed cpu closed 1 year ago
Small branch fixing some failures caught by the cron CI job's nightly clippy task.
New nightly clippy is flagging one of the lines of rustdoc comment in lib.rs:
lib.rs
error: this item has comments with 4 forward slashes (////). These look like doc comments, but they aren't
////
The fix is simple, use only 3 forward slashes :-)
Nightly clippy is flagging a redundant call in cipher.rs:
cipher.rs
call to .deref() on a reference in this situation does nothing
.deref()
This commit removes the call to deref and also the now unnecessary import of the std::ops::Deref trait.
deref
std::ops::Deref
Description
Small branch fixing some failures caught by the cron CI job's nightly clippy task.
lib: fix small rustdoc mistake
New nightly clippy is flagging one of the lines of rustdoc comment in
lib.rs
:The fix is simple, use only 3 forward slashes :-)
cipher: remove redundant call.
Nightly clippy is flagging a redundant call in
cipher.rs
:This commit removes the call to
deref
and also the now unnecessary import of thestd::ops::Deref
trait.