From 0edd5527161809dfbc0c76e39c462e3a4f00beb7 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 23 Nov 2024 22:49:30 +0100 Subject: Improve documentation. (#32) * Use `non_exhaustive`. * Improve docs. --- src/ic.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ic.rs') diff --git a/src/ic.rs b/src/ic.rs index 56dfc6a..8e4db42 100644 --- a/src/ic.rs +++ b/src/ic.rs @@ -1,8 +1,10 @@ /// ICs use crate::private; -pub struct Resolution12Bit(pub(crate) ()); -pub struct Resolution16Bit(pub(crate) ()); +#[non_exhaustive] +pub struct Resolution12Bit; +#[non_exhaustive] +pub struct Resolution16Bit; macro_rules! ic_marker { ($name:ident) => { -- cgit v1.2.3-54-g00ecf