Skip to content

derive Debug for distributions? #118

@zackmdavis

Description

@zackmdavis

This surprised me; is there any reason not to follow the standard advice ("should be implemented for all public types"):

src/main.rs:91:22: 91:41 error: the trait bound `rand::distributions::Normal: std::fmt::Debug` is not satisfied [E0277]
src/main.rs:91     println!("{:?}", Normal::new(1., 1.));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions