Skip to content

Commit

Permalink
Also apply fixes in README to lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
torkleyy committed Mar 29, 2019
1 parent e0186b7 commit 8c50ab6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
//! }
//!
//! fn main() {
//! let mut resources = World::new();
//! let mut world = World::new();
//! let mut dispatcher = DispatcherBuilder::new()
//! .with(EmptySystem, "empty", &[])
//! .build();
//! resources.insert(ResA);
//! resources.insert(ResB);
//! world.insert(ResA);
//! world.insert(ResB);
//!
//! dispatcher.dispatch(&mut resources);
//! dispatcher.dispatch(&mut world);
//! }
//! ```
//!
Expand Down

0 comments on commit 8c50ab6

Please sign in to comment.