Skip to content

Small code improvements - #94

Merged
tarcieri merged 5 commits into
RustCrypto:masterfrom
rodoufu:code_imp
May 15, 2020
Merged

Small code improvements#94
tarcieri merged 5 commits into
RustCrypto:masterfrom
rodoufu:code_imp

Conversation

@rodoufu

@rodoufurodoufu commented Nov 17, 2019

Copy link
Copy Markdown
Contributor

The build is failing due to a problem on streebog.rs:149 but I haven't changed that.

Comment threadstreebog/src/streebog.rs Outdated
#![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_range_loop, clippy::inline_always))]
use digest::{Input, BlockInput, FixedOutput, Reset};
use digest::generic_array::typenum::{Unsigned, U64};
use digest::generic_array::typenum::U64;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build fails because you've removed Unsigned here, I am not sure why it happens, but until we bump MSRV lets keep it as-is.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right.
I've fixed it.

@rodoufu

Copy link
Copy Markdown
ContributorAuthor

@newpavlov at first I was making a change but some time after I realized that it wasn't necessary.
Then I ended up just removing some clippy warnings.

@rodoufu
rodoufu requested a review from newpavlovApril 3, 2020 02:22
@rodoufu

Copy link
Copy Markdown
ContributorAuthor

@newpavlov do you still intend to review it?

@tarcieri
tarcieri merged commit 8845e15 into RustCrypto:masterMay 15, 2020
@tarcieri

Copy link
Copy Markdown
Member

Thanks!

@rodoufu
rodoufu deleted the code_imp branch May 15, 2020 12:30
@tarcieritarcieri mentioned this pull request May 24, 2020
@rodoufu
rodoufu restored the code_imp branch May 27, 2020 14:13
@tarcieritarcieri mentioned this pull request Jun 10, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rodoufu@tarcieri@newpavlov