Skip to content

chore: Remove redundant conversion#151415

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
sorairolake:remove-redundant-from
Jan 21, 2026
Merged

chore: Remove redundant conversion#151415
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
sorairolake:remove-redundant-from

Conversation

@sorairolake
Copy link
Contributor

The type of code is u32, so this u32::from is not necessary.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jan 20, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 20, 2026

r? @ChrisDenton

rustbot has assigned @ChrisDenton.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@nagisa
Copy link
Member

nagisa commented Jan 20, 2026

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 20, 2026

📌 Commit 603955f has been approved by nagisa

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 20, 2026
rust-bors bot pushed a commit that referenced this pull request Jan 20, 2026
Rollup of 7 pull requests

Successful merges:

 - #151216 ([rustdoc] Make popover menus content scrollable on mobile devices)
 - #151373 (Fix an ICE on transmute goals with placeholders in `param_env`)
 - #151399 (Generate error delegation when delegation is not resolved)
 - #151406 (Use version 1.93.0 in `RELEASES.md` instead of 1.93)
 - #151410 (Fixes for LLVM 22 compatibility)
 - #151415 (chore: Remove redundant conversion)
 - #151418 (Avoid pulling in unicode when calling io::Error::kind)

r? @ghost
@rust-bors rust-bors bot merged commit 62090bb into rust-lang:main Jan 21, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Jan 21, 2026
rust-timer added a commit that referenced this pull request Jan 21, 2026
Rollup merge of #151415 - remove-redundant-from, r=nagisa

chore: Remove redundant conversion

The type of `code` is `u32`, so this `u32::from` is not necessary.
@sorairolake sorairolake deleted the remove-redundant-from branch January 21, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants