diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-07-07 03:26:09 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-07 03:26:09 +0200 | 
| commit | 2992997f6fd0dc188c73b4df52ddf8c626b0d5a6 (patch) | |
| tree | 2b1842a8f3a38c1f4e67311a44d24e442e78bb3b /compiler/rustc_driver_impl/src | |
| parent | 7eea141b8755528ecc8cb004deeadd652104d43d (diff) | |
| parent | 49806a5486e841edf5933ca75ed235afb7ad2bdb (diff) | |
| download | rust-2992997f6fd0dc188c73b4df52ddf8c626b0d5a6.tar.gz rust-2992997f6fd0dc188c73b4df52ddf8c626b0d5a6.zip | |
Rollup merge of #143552 - nagisa:makes-ceil-char-boundary-go-zoom, r=jhpratt
lib: more eagerly return `self.len()` from `ceil_char_boundary` There is no reason to go through the complicated branch as it would always return `self.len()` in this case. Also helps debug code somewhat and I guess might make optimizations easier (although I haven't really a sample to demonstrate this.) ref. https://github.com/rust-lang/rust/issues/93743 Suggested by `@chrisduerr`
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions
