Skip to content

Commit 3ba9079

Browse files
author
Paul Kernfeld
committed
macro_use instead of use
1 parent cc7698d commit 3ba9079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mutex_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! This example shows how to wrap a data structure in a mutex to achieve safe mutability.
2+
#[macro_use(lazy_static)]
23
extern crate lazy_static;
3-
use lazy_static::lazy_static;
44
use std::collections::HashMap;
55
use std::sync::Mutex;
66

0 commit comments

Comments
 (0)