Skip to content

Commit

Permalink
value: mark CqlValue as non_exhaustive
Browse files Browse the repository at this point in the history
After all the work related to moving CqlValueDisplayer to scylla-cql,
we can finally mark CqlValue as non_exhaustive.
  • Loading branch information
muzarski committed Feb 25, 2025
1 parent 59f1be6 commit ae8cc53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scylla-cql/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ pub struct CqlDuration {
}

#[derive(Clone, Debug, PartialEq)]
#[non_exhaustive]
pub enum CqlValue {
Ascii(String),
Boolean(bool),
Expand Down

0 comments on commit ae8cc53

Please sign in to comment.