Correct 'Text2dBundle' to 'Text2d' in example comment (#17425)

# Objective

Update out of date comment.

## Solution

## Testing

N/A
This commit is contained in:
theotherphil 2025-01-19 22:22:28 +00:00 committed by GitHub
parent 9c5f5b8455
commit e66aef2d7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.