about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2015-03-15 21:35:48 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2015-03-16 19:15:20 +0100
commit1b894c65de8e5bf03225afa29664045f5622e6d7 (patch)
treec0124f5885a5196d6c1d640e7b8c890abdb65132 /src/test/codegen/stack-alloc-string-slice.cc
parentb4f5e78b467fff62bcb5287f34940fd0037f2216 (diff)
downloadrust-1b894c65de8e5bf03225afa29664045f5622e6d7.tar.gz
rust-1b894c65de8e5bf03225afa29664045f5622e6d7.zip
Improve error handling in libflate
This removes the error case of the compression functions, the only errors that
can occur are incorrect parameters or an out-of-memory condition, both of which
are handled with panics in Rust.

Also introduces an extensible `Error` type instead of returning an `Option`.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions