Skip to content

0.9.3 seemingly breaks panic documentation for ReseedingRng #1767

@kayabaNerve

Description

@kayabaNerve

0.9.2 documents the following:

Error handling

Although unlikely, reseeding the wrapped PRNG can fail. ReseedingRng will never panic but try to handle the error intelligently through some combination of retrying and delaying reseeding until later. If handling the source error fails ReseedingRng will continue generating data from the wrapped PRNG without reseeding.

Manually calling reseed() will not have this retry or delay logic, but reports the error.

1aeee9f#diff-e6e5ffc9c3a54105859ee7e76bb077b51313dff227e9bab169591e9bca95fc3d, as merged for 0.9.3, changed the failed reseed to a panic however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    X-bugType: bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions