Commit 8db571b
build(rust): Update Rust toolchain to 1.90 (#2778)
Update Rust toolchain to 1.90 (1.90.0).
**Changes:**
- Update `rust-toolchain.toml` channel to `1.90`
**Release Notes:** https://github.com/rust-lang/rust/releases/tag/1.90.0
### Fixed lints
The following lints triggered after the update, they have been fixed:
```
warning: unnecessary parentheses around closure body
--> src/commands/monitors/list.rs:20:30
|
20 | monitors.sort_by_key(|p| (p.name.clone()));
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
20 - monitors.sort_by_key(|p| (p.name.clone()));
20 + monitors.sort_by_key(|p| p.name.clone());
|
warning: struct `GitHubAsset` is never constructed
--> src/api/mod.rs:2181:8
|
2181 | struct GitHubAsset {
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: struct `GitHubRelease` is never constructed
--> src/api/mod.rs:2187:8
|
2187 | struct GitHubRelease {
| ^^^^^^^^^^^^^
```
---
🤖 *This PR was created automatically by the Rust toolchain update bot.*
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel Szoke <daniel.szoke@sentry.io>1 parent 4c70555 commit 8db571b
3 files changed
+2
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2177 | 2177 | | |
2178 | 2178 | | |
2179 | 2179 | | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
2185 | | - | |
2186 | | - | |
2187 | | - | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
2191 | | - | |
2192 | 2180 | | |
2193 | 2181 | | |
2194 | 2182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments