Skip to content

Commit

Permalink
Implement Default for AssumeNotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
dullbananas authored Feb 19, 2024
1 parent 57346fa commit ba97d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diesel/src/expression/assume_not_null.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::query_source::joins::ToInnerJoin;
use crate::result::QueryResult;
use crate::sql_types::{DieselNumericOps, IntoNotNullable};

#[derive(Debug, Copy, Clone, DieselNumericOps, ValidGrouping)]
#[derive(Default, Debug, Copy, Clone, DieselNumericOps, ValidGrouping)]
pub struct AssumeNotNull<T>(T);

impl<T> AssumeNotNull<T> {
Expand Down

0 comments on commit ba97d34

Please sign in to comment.