summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2021-07-29 23:25:35 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2021-07-29 23:25:35 +0200
commited4cc1dbc5b048332b68a0ebc1d7113d482a74a2 (patch)
treec9da6ca60d993fc250805bdf8505614401f6371f
parentb3e1023607c13818d36b1518acaa2514412c0653 (diff)
downloadads1x1x-async-ed4cc1dbc5b048332b68a0ebc1d7113d482a74a2.tar.gz
ads1x1x-async-ed4cc1dbc5b048332b68a0ebc1d7113d482a74a2.tar.xz
ads1x1x-async-ed4cc1dbc5b048332b68a0ebc1d7113d482a74a2.zip
Improve example description
-rw-r--r--examples/trait.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/trait.rs b/examples/trait.rs
index eda1f37..070d89c 100644
--- a/examples/trait.rs
+++ b/examples/trait.rs
@@ -1,5 +1,5 @@
-// This example demonstrates the use of a type alias for the `Ads1x1x` struct
-// to ease usage in signatures.
+// This example demonstrates the use of the `DynamicOneSot` trait to ease the usage
+// of the `Ads1x1x` struct in functions.
use linux_embedded_hal::I2cdev;
use nb::block;