Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8977f5

Browse files
committed
Auto merge ofrust-lang#127133 - matthiaskrgr:rollup-jxkp3yf, r=matthiaskrgr
Rollup of 9 pull requestsSuccessful merges: -rust-lang#123237 (Various rustc_codegen_ssa cleanups) -rust-lang#126960 (Improve error message in tidy) -rust-lang#127002 (Implement `x perf` as a separate tool) -rust-lang#127081 (Add a run-make test that LLD is not being used by default on the x64 beta/stable channel) -rust-lang#127106 (Improve unsafe extern blocks diagnostics) -rust-lang#127110 (Fix a error suggestion for E0121 when using placeholder _ as return types on function signature.) -rust-lang#127114 (fix: prefer `(*p).clone` to `p.clone` if the `p` is a raw pointer) -rust-lang#127118 (Show `used attribute`'s kind for user when find it isn't applied to a `static` variable.) -rust-lang#127122 (Remove uneccessary condition in `div_ceil`)r? `@ghost``@rustbot` modify labels: rollup
2 parents9b3a511 +05a472c commitb8977f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎core/src/num/uint_macros.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2726,7 +2726,7 @@ macro_rules! uint_impl {
27262726
pubconstfn div_ceil(self, rhs:Self) ->Self{
27272727
let d =self / rhs;
27282728
let r =self % rhs;
2729-
if r >0&& rhs >0{
2729+
if r >0{
27302730
d +1
27312731
} else{
27322732
d

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp