mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 22:18:33 +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,
|
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
|
/// Diagnostic examples: frames per second, CPU usage, network latency
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Diagnostic {
|
pub struct Diagnostic {
|
||||||
|
|
|
@ -12,7 +12,7 @@ pub struct LogDiagnosticsPlugin {
|
||||||
pub filter: Option<Vec<DiagnosticId>>,
|
pub filter: Option<Vec<DiagnosticId>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// State used by the [LogDiagnosticsPlugin]
|
/// State used by the [`LogDiagnosticsPlugin`]
|
||||||
struct LogDiagnosticsState {
|
struct LogDiagnosticsState {
|
||||||
timer: Timer,
|
timer: Timer,
|
||||||
filter: Option<Vec<DiagnosticId>>,
|
filter: Option<Vec<DiagnosticId>>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue