summaryrefslogtreecommitdiffstats
path: root/src/ic.rs
diff options
context:
space:
mode:
authorMarkus Reiter <me@reitermark.us>2024-11-23 22:49:30 +0100
committerGitHub <noreply@github.com>2024-11-23 22:49:30 +0100
commit0edd5527161809dfbc0c76e39c462e3a4f00beb7 (patch)
treebb55dd2015752ce100d21682a5f452b9f5c4d208 /src/ic.rs
parentd3af2b6074e8698b8b83f79758e23070a8b80002 (diff)
downloadads1x1x-async-0edd5527161809dfbc0c76e39c462e3a4f00beb7.tar.gz
ads1x1x-async-0edd5527161809dfbc0c76e39c462e3a4f00beb7.tar.xz
ads1x1x-async-0edd5527161809dfbc0c76e39c462e3a4f00beb7.zip
Improve documentation. (#32)
* Use `non_exhaustive`. * Improve docs.
Diffstat (limited to 'src/ic.rs')
-rw-r--r--src/ic.rs6
1 files changed, 4 insertions, 2 deletions
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) => {