From 8c50ab65fc99638d7b65545307e85a87010aaa92 Mon Sep 17 00:00:00 2001 From: Thomas Schaller Date: Fri, 29 Mar 2019 13:12:26 +0100 Subject: [PATCH] Also apply fixes in README to lib.rs --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 039df1cb2..3cbff93ed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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); //! } //! ``` //!