• T
    Improve error handling in libflate · 1b894c65
    Tobias Bucher 提交于
    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`.
    1b894c65
lib.rs 5.9 KB