File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ your application however you like!
1212### Example
1313
1414``` rust
15+ use hecs :: * ;
16+
1517let mut world = World :: new ();
1618// Nearly any type can be used as a component with zero boilerplate
1719let a = world . spawn ((123 , true , " abc" ));
@@ -100,8 +102,8 @@ If hecs doesn't suit you, one of those might do the trick!
100102
101103Licensed under either of
102104
103- * Apache License, Version 2.0, ([ LICENSE-APACHE] ( LICENSE-APACHE ) or http://www.apache.org/licenses/LICENSE-2.0 )
104- * MIT license ([ LICENSE-MIT] ( LICENSE-MIT ) or http://opensource.org/licenses/MIT )
105+ * Apache License, Version 2.0, ([ LICENSE-APACHE] ( LICENSE-APACHE ) or < http://www.apache.org/licenses/LICENSE-2.0 > )
106+ * MIT license ([ LICENSE-MIT] ( LICENSE-MIT ) or < http://opensource.org/licenses/MIT > )
105107
106108at your option.
107109
Original file line number Diff line number Diff line change 3232#[ cfg( feature = "std" ) ]
3333extern crate std;
3434
35+ #[ doc( hidden) ]
36+ #[ doc = include_str ! ( "../README.md" ) ]
37+ mod readme_doctest { }
38+
3539#[ doc( hidden) ]
3640pub extern crate alloc;
3741#[ doc( hidden) ]
You can’t perform that action at this time.
0 commit comments