#stable #unstable #void

no-std never

A stable version of the unstable never type (!)

2 unstable releases

0.1.0 Mar 20, 2020
0.0.0 Jul 30, 2018

#535 in Rust patterns

Download history 7002/week @ 2023-12-13 5876/week @ 2023-12-20 5544/week @ 2023-12-27 7691/week @ 2024-01-03 8119/week @ 2024-01-10 9128/week @ 2024-01-17 9178/week @ 2024-01-24 9221/week @ 2024-01-31 9237/week @ 2024-02-07 8766/week @ 2024-02-14 8020/week @ 2024-02-21 9507/week @ 2024-02-28 8962/week @ 2024-03-06 9567/week @ 2024-03-13 10317/week @ 2024-03-20 7615/week @ 2024-03-27

38,018 downloads per month
Used in 81 crates (13 directly)

BSD-3-Clause

6KB
66 lines

The never type.

This crate defines Never, which is a type that can never be constructed (in type theory parlance, it is "uninhabited"). It is a stable version of the currently-unstable ! type from the standard library.

By default, this crate links against std. This is enabled via the std feature, which is on by default. To make this crate no_std, disable default features.

No runtime deps

Features