From 4fc78750884d36d70cb6fa72150ec52ec2b42d60 Mon Sep 17 00:00:00 2001 From: Jan Hohenheim Date: Tue, 23 Jan 2024 18:46:28 +0100 Subject: [PATCH] Fix outdated code in docs --- crates/bevy_plugin/src/lib.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/bevy_plugin/src/lib.rs b/crates/bevy_plugin/src/lib.rs index f21273ab..84ff570a 100644 --- a/crates/bevy_plugin/src/lib.rs +++ b/crates/bevy_plugin/src/lib.rs @@ -53,7 +53,7 @@ //! //! ```no_run //! // src/main.rs -//! use bevy::{prelude::*, asset::ChangeWatcher, utils::Duration}; +//! use bevy::{prelude::*, utils::Duration}; //! use bevy_yarn_slinger::prelude::*; //! // Use the example dialogue view to see the dialogue in action. Requires the `bevy_yarn_slinger_example_dialogue_view` crate. //! // use bevy_yarn_slinger_example_dialogue_view::prelude::*; @@ -61,11 +61,6 @@ //! fn main() { //! let mut app = App::new(); //! app.add_plugins(( -//! DefaultPlugins.set(AssetPlugin { -//! // Activate hot reloading -//! watch_for_changes: ChangeWatcher::with_delay(Duration::from_millis(200)), -//! ..default() -//! }), //! // Add the Yarn Slinger plugin. //! // As soon as this plugin is built, a Yarn project will be compiled //! // from all Yarn files found under assets/dialog/*.yarn