about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-29 21:58:29 +0200
committerGitHub <noreply@github.com>2020-05-29 21:58:29 +0200
commitde561a9d3d8d06969abc4f6851fd532f584ff52c (patch)
tree2e51f1e2ec4fec6b702ced9685a95474bdad99df /src/rustllvm/RustWrapper.cpp
parente229d6e73b0a665aaad8802b8b9b66c1c4fef499 (diff)
parent44ca3da9a386665834e34d27e30ed471253f2777 (diff)
downloadrust-de561a9d3d8d06969abc4f6851fd532f584ff52c.tar.gz
rust-de561a9d3d8d06969abc4f6851fd532f584ff52c.zip
Rollup merge of #72407 - Lucretiel:ipv6-display, r=Mark-Simulacrum
Various minor improvements to Ipv6Addr::Display

Cleaned up `Ipv6Addr::Display`, especially with an eye towards simplifying and reducing duplicated logic. Also added a fast-path optimization, similar to #72399 and #72398.

- Defer to `Ipv4Addr::fmt` when printing an Ipv4 address
- Fast path: write directly to `f` without an intermediary buffer when there are no alignment options
- Simplify finding the inner zeroes-span
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions