Skip to content

Commit

Permalink
Add default for status
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Oct 2, 2019
1 parent e670fe4 commit 8d28623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ pub enum ComparisonMode {
}

/// Conversion status
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Status {
/// Whether an overflow condition during the conversion has occurred.
pub has_overflown: bool,
Expand Down

0 comments on commit 8d28623

Please sign in to comment.