Skip to content

Commit

Permalink
Fix doc_markdown lints in bevy_text (#3482)
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
mfdorst committed Jan 5, 2022
1 parent 073f381 commit 0b3a1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_text/src/text2d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub struct QueuedText2d {
entities: Vec<Entity>,
}

/// 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<QueuedText2d>,
Expand Down

0 comments on commit 0b3a1c1

Please sign in to comment.