Skip to content

Commit

Permalink
chore(rust): bump MSRV to 1.65 (pola-rs#10568)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp authored Aug 17, 2023
1 parent 629c25b commit 2dbf5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ point to the `main` branch of this repo.
polars = { git = "https://github.com/pola-rs/polars", rev = "<optional git tag>" }
```

Required Rust version `>=1.62`
Required Rust version `>=1.65`.

## Contributing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ macro_rules! minmax_window {
};
let empty_overlap = old_last_end <= start;

if entering.is_some_and(|em| $new_is_m(&self.m, em.1) || empty_overlap) {
if entering.map(|em| $new_is_m(&self.m, em.1) || empty_overlap) == Some(true) {
// The entering extremum "beats" the previous extremum so we can ignore the overlap
self.update_m_and_m_idx(entering.unwrap());
return self.m;
Expand Down

0 comments on commit 2dbf5cd

Please sign in to comment.