summaryrefslogtreecommitdiff
path: root/examples/list.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-05-22 15:53:49 -0400
committerBotahamec <botahamec@outlook.com>2024-05-22 15:53:49 -0400
commitebbe3cfce28914d776f3e5f89894fab50911c57e (patch)
tree7ecb7357b9decbe37817eea57e51346aaf055438 /examples/list.rs
parentf5cb25b01f265c9247bd0cb8955addcbaa94fea2 (diff)
Implemented necessary traits
Diffstat (limited to 'examples/list.rs')
-rw-r--r--examples/list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/list.rs b/examples/list.rs
index dda468a..a649eeb 100644
--- a/examples/list.rs
+++ b/examples/list.rs
@@ -59,6 +59,6 @@ fn main() {
let data = RefLockCollection::new(&DATA);
let data = data.lock(key);
for val in &*data {
- println!("{}", **val);
+ println!("{val}");
}
}