Skip to content

Commit

Permalink
feat(corelib): derive PartialEq on Range (#6970)
Browse files Browse the repository at this point in the history
  • Loading branch information
cairoIover authored Jan 4, 2025
1 parent c02c49d commit cc7f05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/src/ops/range.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use core::num::traits::One;
use core::traits::Add;

/// Represents the range [start, end).
#[derive(Clone, Drop)]
#[derive(Clone, Drop, PartialEq)]
pub struct Range<T> {
/// The lower bound of the range (inclusive).
pub start: T,
Expand Down

0 comments on commit cc7f05b

Please sign in to comment.