Skip to content

sed: fix clippy cast_possible_truncation errors - #518

Merged
sylvestre merged 1 commit into
uutils:mainfrom
sylvestre:clippy-cast-truncation
Aug 8, 2026
Merged

sed: fix clippy cast_possible_truncation errors#518
sylvestre merged 1 commit into
uutils:mainfrom
sylvestre:clippy-cast-truncation

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Aug 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 70.58824% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.27%. Comparing base (d28a1f8) to head (98df87f).

Files with missing lines Patch % Lines
src/sed/processor.rs 0.00% 4 Missing ⚠️
src/sed/fast_io.rs 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #518      +/-   ##
==========================================
- Coverage   83.29%   83.27%   -0.03%     
==========================================
  Files          13       13              
  Lines        6987     6994       +7     
  Branches      396      397       +1     
==========================================
+ Hits         5820     5824       +4     
- Misses       1164     1167       +3     
  Partials        3        3              
Flag Coverage Δ
macos_latest 83.91% <66.66%> (-0.03%) ⬇️
ubuntu_latest 84.12% <70.58%> (-0.03%) ⬇️
windows_latest 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq

codspeed-hq Bot commented Aug 8, 2026

Copy link
Copy Markdown

Merging this PR will regress 1 benchmark

⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 9 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
number_fix 1.6 s 1.7 s -5.11%
access_log_subst 2.5 s 2.3 s +7.71%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing sylvestre:clippy-cast-truncation (98df87f) with main (d28a1f8)

Open in CodSpeed

@sylvestre
sylvestre merged commit d842aa3 into uutils:main Aug 8, 2026
28 of 31 checks passed
@sylvestre
sylvestre deleted the clippy-cast-truncation branch August 8, 2026 22:52
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.

1 participant