summaryrefslogtreecommitdiff
path: root/examples/basic.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/basic.rs
parentf5cb25b01f265c9247bd0cb8955addcbaa94fea2 (diff)
Implemented necessary traits
Diffstat (limited to 'examples/basic.rs')
-rw-r--r--examples/basic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.rs b/examples/basic.rs
index 1d611d3..b9c5641 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -23,5 +23,5 @@ fn main() {
let key = ThreadKey::get().unwrap();
let data = DATA.lock(key);
- println!("{}", *data);
+ println!("{data}");
}