From 0b3a1c18e9bddbb712fd8b6e6f7dd722cef4002a Mon Sep 17 00:00:00 2001 From: Michael Dorst Date: Wed, 5 Jan 2022 22:30:12 +0000 Subject: [PATCH] Fix `doc_markdown` lints in `bevy_text` (#3482) #3457 adds the `doc_markdown` clippy lint, which checks doc comments to make sure code identifiers are escaped with backticks. This causes a lot of lint errors, so this is one of a number of PR's that will fix those lint errors one crate at a time. This PR fixes lints in the `bevy_text` crate. --- 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..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,