mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
Fix doc_markdown
lints in bevy_diagnostic
(#3472)
#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_diagnostic` crate.
This commit is contained in:
parent
e6bce74220
commit
b65a1cadb7
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ pub struct DiagnosticMeasurement {
|
|||
pub value: f64,
|
||||
}
|
||||
|
||||
/// A timeline of [DiagnosticMeasurement]s of a specific type.
|
||||
/// A timeline of [`DiagnosticMeasurement`]s of a specific type.
|
||||
/// Diagnostic examples: frames per second, CPU usage, network latency
|
||||
#[derive(Debug)]
|
||||
pub struct Diagnostic {
|
||||
|
|
|
@ -12,7 +12,7 @@ pub struct LogDiagnosticsPlugin {
|
|||
pub filter: Option<Vec<DiagnosticId>>,
|
||||
}
|
||||
|
||||
/// State used by the [LogDiagnosticsPlugin]
|
||||
/// State used by the [`LogDiagnosticsPlugin`]
|
||||
struct LogDiagnosticsState {
|
||||
timer: Timer,
|
||||
filter: Option<Vec<DiagnosticId>>,
|
||||
|
|
Loading…
Reference in a new issue