Skip to content

Commit

Permalink
Correct 'Text2dBundle' to 'Text2d' in example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherphil committed Jan 18, 2025
1 parent b66c3ce commit a3b64de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/2d/text2d.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Shows text rendering with moving, rotating and scaling text.
//!
//! Note that this uses [`Text2dBundle`] to display text alongside your other entities in a 2D scene.
//! Note that this uses [`Text2d`] to display text alongside your other entities in a 2D scene.
//!
//! For an example on how to render text as part of a user interface, independent from the world
//! viewport, you may want to look at `games/contributors.rs` or `ui/text.rs`.
Expand Down

0 comments on commit a3b64de

Please sign in to comment.