nohup: #[allow(clippy::unwrap_used, reason = ...)]#11361
nohup: #[allow(clippy::unwrap_used, reason = ...)]#11361sylvestre merged 1 commit intouutils:mainfrom
Conversation
|
We should use |
|
In actual fact, why not use |
|
.except increases binary size and this unwrap() is clearly safe... |
|
I see no difference in binary size, I guess |
|
Optimized at compile time? |
Yes, in release build. |
|
|
|
I checked with: and saw the same size with |
|
There is no reason not to use |
|
Binary size increases |
|
I see no difference (for unwrap: expect: |
|
1212336->1212352 (stripped --release, rustc 1.94.0 (4a4ef493e 2026-03-02) (Arch Linux rust 1:1.94.0-2.1) |
|
That's interesting, I used rustc 1.94.0 (4a4ef493e 2026-03-02) (aarch64-apple-darwin) +16 bytes is likely just noise though |
No description provided.