Make Range implementation safe
This commit is contained in:
parent
641c8cd875
commit
a875876027
3 changed files with 24 additions and 31 deletions
|
|
@ -157,7 +157,7 @@ impl<'a, 'b> std::ops::Add<&'b NaiveDate> for &'a NaiveDate {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl std::iter::Step for NaiveDate {
|
||||
impl std::iter::Step for NaiveDate {
|
||||
fn steps_between(_: &Self, _: &Self) -> Option<usize> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue