diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-03-15 21:35:48 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-03-16 19:15:20 +0100 |
| commit | 1b894c65de8e5bf03225afa29664045f5622e6d7 (patch) | |
| tree | c0124f5885a5196d6c1d640e7b8c890abdb65132 /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | b4f5e78b467fff62bcb5287f34940fd0037f2216 (diff) | |
| download | rust-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
