| commit | 7890c82bb149cff4642ab5e44646dae686445f74 | [log] [tgz] |
|---|---|---|
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | Thu Mar 26 00:16:03 2020 +0000 |
| committer | GitHub <noreply@github.com> | Thu Mar 26 00:16:03 2020 +0000 |
| tree | cfdf3d94089e301db9df057b97ece4dedde270de | |
| parent | f8a73ed6b1de867322b0ed3778e2f066f5353d09 [diff] | |
| parent | 9332ee9efba634a2f832103e479b2b767428a70e [diff] |
Merge #30 30: Don't use decimal numbers when str length overflows TextSize. r=matklad a=CAD97 Since the string is necessarily longer than 4,294,967,296 bytes, it is probably more useful to output the length in hexadecimal. For additional niceness, we output the first and last 10 characters. Co-authored-by: CAD97 <cad97@cad97.com>
A library that provides newtype wrappers for u32 and (u32, u32) for use as text offsets.
See the docs for more.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.