Skip to content

Commit 329eb1e

Browse files
the-ssdRalith
authored andcommitted
simplify README example
1 parent 8059a11 commit 329eb1e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ your application however you like!
1212
### Example
1313

1414
```rust
15-
use hecs::*;
16-
17-
let mut world = World::new();
15+
let mut world = hecs::World::new();
1816
// Nearly any type can be used as a component with zero boilerplate
1917
let a = world.spawn((123, true, "abc"));
2018
let b = world.spawn((42, false));

0 commit comments

Comments
 (0)