Skip to content

Commit 1ed0941

Browse files
authored
Merge pull request #622 from ehuss/lazy_static-fix
Fix typo in lazy_static example.
2 parents d79ddd0 + af35aca commit 1ed0941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros-by-example.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ when `#[macro_use]` is applied to a module.
310310
#[macro_use(lazy_static)] // Or #[macro_use] to import all macros.
311311
extern crate lazy_static;
312312
313-
lazy_static!{};
313+
lazy_static!{}
314314
// self::lazy_static!{} // Error: lazy_static is not defined in `self`
315315
```
316316

0 commit comments

Comments
 (0)