Skip to content

Shouldn't Digest.result_str call output_bytes instead of repeating the code ? #474

@Mr-Dispatch

Description

@Mr-Dispatch

let mut buf: Vec<u8> = repeat(0).take((self.output_bits()+7)/8).collect();

Sorry if it is too nit-picky, I just used the rust-analyzer "Go to Definition" and noticed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions