From e82d03ea004bd45d8ba8efa8b94040dc5abb13b2 Mon Sep 17 00:00:00 2001 From: Michael Dorst Date: Tue, 28 Dec 2021 19:21:36 -0800 Subject: [PATCH 1/2] Fix doc_markdown lints in bevy_text --- crates/bevy_text/src/text2d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_text/src/text2d.rs b/crates/bevy_text/src/text2d.rs index d4a59cd6c0ea5..c68f755035bad 100644 --- a/crates/bevy_text/src/text2d.rs +++ b/crates/bevy_text/src/text2d.rs @@ -107,7 +107,7 @@ pub struct QueuedText2d { entities: Vec, } -/// Updates the TextGlyphs with the new computed glyphs from the layout +/// Updates the [`TextGlyphs`] with the new computed glyphs from the layout #[allow(clippy::too_many_arguments, clippy::type_complexity)] pub fn text2d_system( mut queued_text: Local, From 2d30ad47c28fa46a2d08b0a7eb6e680d693cd640 Mon Sep 17 00:00:00 2001 From: Michael Dorst Date: Wed, 29 Dec 2021 01:19:30 -0800 Subject: [PATCH 2/2] Removed link to nonexistent `TextGlyphs` type --- crates/bevy_text/src/text2d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_text/src/text2d.rs b/crates/bevy_text/src/text2d.rs index c68f755035bad..789dab4160925 100644 --- a/crates/bevy_text/src/text2d.rs +++ b/crates/bevy_text/src/text2d.rs @@ -107,7 +107,7 @@ pub struct QueuedText2d { entities: Vec, } -/// Updates the [`TextGlyphs`] with the new computed glyphs from the layout +/// Updates the `TextGlyphs` with the new computed glyphs from the layout #[allow(clippy::too_many_arguments, clippy::type_complexity)] pub fn text2d_system( mut queued_text: Local,