From 0a05de70a5d2917b5f28d0ef0c7e36dd997e35ed Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Fri, 4 Aug 2023 11:57:26 -0400 Subject: [PATCH] fix docs --- crates/valence_scoreboard/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/valence_scoreboard/README.md b/crates/valence_scoreboard/README.md index ffecc4257..3b7173e93 100644 --- a/crates/valence_scoreboard/README.md +++ b/crates/valence_scoreboard/README.md @@ -11,11 +11,12 @@ Example: ```rust # use bevy_ecs::prelude::*; use valence_scoreboard::*; +use valence_core::text::IntoText; fn spawn_scoreboard(mut commands: Commands) { commands.spawn(ObjectiveBundle { name: Objective::new("foo"), - display: ObjectiveDisplay("Foo".bold()) + display: ObjectiveDisplay("Foo".bold()), ..Default::default() }); }