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.
2 parents fbb0ad8 + 6b31e37 commit 5bc4a08Copy full SHA for 5bc4a08
src/lib.rs
@@ -7,6 +7,11 @@
7
//! - Overflow will panic in debug and wrap in release.
8
//! - All possible lossless conversions is possible by using `From`.
9
//! - When `TryFrom` is stabilized fallible conversions will also be supported.
10
+//!
11
+//! The uX types take up as much space as the smallest integer type that can contain them;
12
+//! the compiler can not yet be made aware of further optimization potential,
13
+//! and thus does not use it:
14
+//! an `Option<u7>` still takes up two bytes.
15
16
17
#![cfg_attr(not(feature="std"), no_std)]
0 commit comments