diff options
| author | Lukas Kalbertodt <lukas.kalbertodt@gmail.com> | 2018-05-16 15:08:39 +0200 |
|---|---|---|
| committer | Lukas Kalbertodt <lukas.kalbertodt@gmail.com> | 2018-05-16 15:08:39 +0200 |
| commit | 59e71141029162fe4b4a3ed4cad430dace3fb995 (patch) | |
| tree | 8e1ca454c3f5672d2208aba8bb5bf3de4e665743 /src/rustllvm/RustWrapper.cpp | |
| parent | 2a28ac31e9abe0a01861bfffed85872431cc6b72 (diff) | |
| download | rust-59e71141029162fe4b4a3ed4cad430dace3fb995.tar.gz rust-59e71141029162fe4b4a3ed4cad430dace3fb995.zip | |
Fix `Debug` impl of `Duration` for precisions > 9
Previously, the code would panic for high precision values. Now it has the same behavior as printing normal floating point values: if a high precision is specified, '0's are added.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
