https://github.com/codechain-io/rust-never-type
This library is an alternative implementation of never type for stable rust.
https://github.com/codechain-io/rust-never-type
never rust
Last synced: 7 months ago
JSON representation
This library is an alternative implementation of never type for stable rust.
- Host: GitHub
- URL: https://github.com/codechain-io/rust-never-type
- Owner: CodeChain-io
- License: mit
- Created: 2019-04-05T12:09:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-23T03:35:04.000Z (over 5 years ago)
- Last Synced: 2024-11-18T19:51:24.147Z (7 months ago)
- Topics: never, rust
- Language: Rust
- Homepage: https://crates.io/crates/never-type
- Size: 20.5 KB
- Stars: 3
- Watchers: 9
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# never type [](https://travis-ci.com/CodeChain-io/rust-never-type) [](https://opensource.org/licenses/MIT)
Rust has a type called [never](https://doc.rust-lang.org/std/primitive.never.html)(`!`).
It's used to represent types that are never initiated.But currently, the never type is a night-only feature and cannot be used in stable builds.
This library is an alternative implementation of the never type for stable Rust.