about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.coverage
diff options
context:
space:
mode:
authorKappa322 <Krappa322@users.noreply.github.com>2024-07-20 13:05:55 +0200
committerKappa322 <Krappa322@users.noreply.github.com>2024-08-31 14:23:08 +0200
commit467dbcba60bb109636a31af3d298e253850422dc (patch)
tree46201fb27908cc76023869ce55d8b20f8674f33e /tests/coverage/branch/lazy-boolean.coverage
parent9649706eada1b2c68cf6504356efb058f68ad739 (diff)
downloadrust-467dbcba60bb109636a31af3d298e253850422dc.tar.gz
rust-467dbcba60bb109636a31af3d298e253850422dc.zip
Improve documentation for <integer>::from_str_radix
Two improvements to the documentation:
- Document `-` as a valid character for signed integer destinations
- Make the documentation even more clear that extra whitespace and non-digit characters is invalid. Many other
  languages, e.g. c++, are very permissive in string to integer routines and simply try to consume as much as they can,
  ignoring the rest. This is trying to make the transition for developers who are used to the conversion semantics in
  these languages a bit easier.
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.coverage')
0 files changed, 0 insertions, 0 deletions