summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-11 08:08:38 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-11 08:08:38 +0100
commit2c74e1d9fc6acde2e596fe7f1a8127236fc2ca0b (patch)
tree62330f133e0ff150cd98d8e41ce390b0917058b4 /src/lib.rs
parent3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a (diff)
downloadads1x1x-async-2c74e1d9fc6acde2e596fe7f1a8127236fc2ca0b.tar.gz
ads1x1x-async-2c74e1d9fc6acde2e596fe7f1a8127236fc2ca0b.tar.xz
ads1x1x-async-2c74e1d9fc6acde2e596fe7f1a8127236fc2ca0b.zip
Make config comparable
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3c7a383..6601888 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -249,7 +249,7 @@ impl BitFlags {
}
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq)]
struct Config {
bits: u16
}