Skip to content

Commit

Permalink
Fix step_trait build
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lehmann authored and Daniel Lehmann committed Dec 2, 2024
1 parent 18d8ac2 commit 10d4b8f
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 @@ -1254,7 +1254,7 @@ where
T: Copy + Step,
{
#[inline]
fn steps_between(start: &Self, end: &Self) -> Option<usize> {
fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>) {
Step::steps_between(&start.value(), &end.value())
}

Expand Down

0 comments on commit 10d4b8f

Please sign in to comment.