8000 chore: Upgrade Rust to 1.86 by grahamking · Pull Request #518 · ai-dynamo/dynamo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: Upgrade Rust to 1.86 #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 4, 2025
Merged

chore: Upgrade Rust to 1.86 #518

merged 3 commits into from
Apr 4, 2025

Conversation

grahamking
Copy link
Contributor

Also upgrade the cargo resolver to v3, the default.

New clippy lints:

  • next_back() instead of last() for a double-ended iterator. That avoids walking the whole list.
  • repeat_n instead of repeat.take. That avoids cloning.
  • Doc indenting

Copy link
Contributor
@nv-anants nv-anants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grahamking
Copy link
Contributor Author

LGTM! one more reference here - https://github.com/ai-dynamo/dynamo/blob/main/.github/workflows/pre-merge-rust.yml#L69

Nice catch! rg ignores hidden dirs by default.

@grahamking grahamking enabled auto-merge (squash) April 4, 2025 15:12
@grahamking grahamking merged commit 50a08c9 into main Apr 4, 2025
10 of 11 checks passed
@grahamking grahamking deleted the gk-rust-1.86 branch April 4, 2025 16:02
kylehh pushed a commit to kylehh/dynamo that referenced this pull request Apr 11, 2025
Also upgrade the cargo resolver to v3, the default.

New clippy lints:
- `next_back()` instead of `last()` for a double-ended iterator. That avoids walking the whole list.
- ` repeat_n` instead of `repeat.take`. That avoids cloning.
- Doc indenting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0