diff --git a/src/int.rs b/src/int.rs index 26d5a9a3..cda06163 100644 --- a/src/int.rs +++ b/src/int.rs @@ -22,7 +22,7 @@ use {Num, NumCast}; /// /// All `PrimInt` types are expected to be fixed-width binary integers. The width can be queried /// via `T::zero().count_zeros()`. The trait currently lacks a way to query the width at -/// compile-time. +/// compile-time, but `core::mem::size_of::()` can be used in the meantime. /// /// While a default implementation for all builtin primitive integers is provided, the trait is in /// no way restricted to these. Other integer types that fulfil the requirements are free to