diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2021-04-19 16:31:30 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2021-04-24 16:57:58 -0700 |
| commit | a80dbea918d6dd0516439f399a62512753276da5 (patch) | |
| tree | b9ab4972f90524aa0ecc7f571b763a48ea886a6e /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 17234dbb3db8f4715fc0c96c0e5c5444a5980eb9 (diff) | |
| download | rust-a80dbea918d6dd0516439f399a62512753276da5.tar.gz rust-a80dbea918d6dd0516439f399a62512753276da5.zip | |
Clarify Duration::MAX depends on Instant
Duration is used in std to represent a difference between two Instants. As such, it has to at least contain that span of time in it. However, Instant can vary by platform. Thus, we should explain the impl of Duration::MAX is sensitive to these vagaries of the platform.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
