about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorJames Miller <james@aatch.net>2015-01-09 18:06:45 +1300
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-03-03 12:10:19 +0100
commit280dea743b5227d0d162217cbb89db881242c94e (patch)
treefb4892b0e233f4ec6ba5a646e2451d0597a5bd04 /src/test/codegen/stack-alloc-string-slice.rs
parent1246d4067fdc034d064dfb78f88c2c3c079c3f4f (diff)
downloadrust-280dea743b5227d0d162217cbb89db881242c94e.tar.gz
rust-280dea743b5227d0d162217cbb89db881242c94e.zip
Implement parse_opt_bool better
During my clean-up of rebase errors, I took the opportunity to implement
parse_opt_bool so that it isn't identical to parse_bool wrapped in
`Some`.

parse_opt_bool considers no value to be true, a value of 'y', 'yes' or
'on' to be true and 'n', 'no' or 'off' to be false. All other values are
an error.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions