dtolnay/cargo-llvm-lines

Misaligned columns if there is a double digit percentage in the first column

dtolnay opened this issue · 0 comments

fn main() {}
$ cargo llvm-lines 
    Finished dev [unoptimized + debuginfo] target(s) in 0.15s

  Lines        Copies         Function name
  -----        ------         -------------
     88 (100%)     10 (100%)  (TOTAL)
     25 (28.4%)      1 (10.0%)  core::ops::function::FnOnce::call_once
     16 (18.2%)      1 (10.0%)  std::rt::lang_start
     10 (11.4%)      1 (10.0%)  std::rt::lang_start::{{closure}}
      9 (10.2%)      1 (10.0%)  core::ops::function::FnOnce::call_once{{vtable.shim}}
      6 (6.8%)      1 (10.0%)  <std::process::ExitCode as std::process::Termination>::report
      6 (6.8%)      1 (10.0%)  std::sys::unix::process::process_common::ExitCode::as_i32
      5 (5.7%)      1 (10.0%)  <() as std::process::Termination>::report
      5 (5.7%)      1 (10.0%)  core::ptr::drop_in_place
      5 (5.7%)      1 (10.0%)  main
      1 (1.1%)      1 (10.0%)  testing::main