Skip to content

Commit 8006f5e

Browse files
committed
fix docs
1 parent 20330c8 commit 8006f5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/bevy_text/src/text2d.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use bevy_transform::prelude::GlobalTransform;
3232
use bevy_utils::HashSet;
3333
use bevy_window::{PrimaryWindow, Window, WindowScaleFactorChanged};
3434

35-
/// [Text2dBundle] was removed in favor of required components.
35+
/// [`Text2dBundle`] was removed in favor of required components.
3636
/// The core component is now [`Text2d`] which can contain a single text segment.
3737
/// Indexed access to segments can be done with the new [`TextUiReader`] and [`TextUiWriter`] system params.
3838
/// Additional segments can be added through children with [`TextSpan`](crate::text::TextSpan).

crates/bevy_ui/src/widget/text.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Default for TextNodeFlags {
4848
}
4949
}
5050

51-
/// [TextBundle] was removed in favor of required components.
51+
/// [`TextBundle`] was removed in favor of required components.
5252
/// The core component is now [`Text`] which can contain a single text segment.
5353
/// Indexed access to segments can be done with the new [`TextUiReader`] and [`TextUiWriter`] system params.
5454
/// Additional segments can be added through children with [`TextSpan`](bevy_text::TextSpan).

0 commit comments

Comments
 (0)