5 releases (1 stable)
Uses old Rust 2015
1.0.0 | May 9, 2017 |
---|---|
0.1.1 | Feb 16, 2016 |
0.1.0 | Feb 16, 2016 |
0.0.2 | Jun 10, 2015 |
0.0.1 | Jun 2, 2015 |
#2314 in Rust patterns
829,474 downloads per month
Used in 1,200 crates
(21 directly)
7KB
unreachable
An unreachable code optimization hint in stable rust.
Documentation
Usage
Use the crates.io repository; add this to your Cargo.toml
along
with the rest of your dependencies:
[dependencies]
unreachable = "0.1"
Author
Jonathan Reem is the primary author and maintainer of unreachable.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
unreachable
An unreachable code optimization hint in stable rust, and some useful
extension traits for Option
and Result
.