Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Aug 4, 2023
1 parent ea88629 commit 0a05de7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/valence_scoreboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
});
}
Expand Down

0 comments on commit 0a05de7

Please sign in to comment.