Skip to content

Commit

Permalink
Fix outdated code in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
janhohenheim committed Jan 23, 2024
1 parent eb9b762 commit 4fc7875
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/bevy_plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,14 @@
//!
//! ```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::*;
//!
//! 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
Expand Down

0 comments on commit 4fc7875

Please sign in to comment.