We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ddeac7 commit b48726fCopy full SHA for b48726f
src/const_api.rs
@@ -5,6 +5,10 @@ use core::marker::PhantomData;
5
///
6
/// Some `const fn`s in this crate will need an instance of this type
7
/// for some type-level information usually provided by traits.
8
+///
9
+/// A token can be obtained from [`BitFlags::CONST_TOKEN`]. The relevant types
10
+/// should be readily inferred from context.
11
12
/// For an example of usage, see [`not_c`][BitFlags::not_c].
13
pub struct ConstToken<T, N>(BitFlags<T, N>);
14
0 commit comments