Skip to content

Commit

Permalink
Correct 'Text2dBundle' to 'Text2d' in example comment (#17425)
Browse files Browse the repository at this point in the history
# Objective

Update out of date comment.

## Solution

## Testing

N/A
  • Loading branch information
theotherphil authored Jan 19, 2025
1 parent 9c5f5b8 commit e66aef2
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 e66aef2

Please sign in to comment.