Skip to content

Commit 695a9f7

Browse files
committed
fix doc refs
1 parent 8006f5e commit 695a9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_text/src/text2d.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use bevy_window::{PrimaryWindow, Window, WindowScaleFactorChanged};
3434

3535
/// [`Text2dBundle`] was removed in favor of required components.
3636
/// The core component is now [`Text2d`] which can contain a single text segment.
37-
/// Indexed access to segments can be done with the new [`TextUiReader`] and [`TextUiWriter`] system params.
37+
/// Indexed access to segments can be done with the new [`Text2dReader`] and [`Text2dWriter`] system params.
3838
/// Additional segments can be added through children with [`TextSpan`](crate::text::TextSpan).
3939
/// Text configuration can be done with [`TextLayout`], [`TextFont`] and [`TextColor`],
4040
/// while sprite-related configuration uses [`TextBounds`] and [`Anchor`] components.

0 commit comments

Comments
 (0)