clippy: Fix doc_lazy_continuation lints (#5935)

These are in nightly builds.
This commit is contained in:
Bruce Mitchener 2024-07-11 13:44:43 +07:00 committed by GitHub
parent b5c33fc1a4
commit ee16de1c63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 23 additions and 21 deletions

View File

@ -1,10 +1,9 @@
/*! Module analyzer.
Figures out the following properties:
- control flow uniformity
- texture/sampler pairs
- expression reference counts
!*/
//! Module analyzer.
//!
//! Figures out the following properties:
//! - control flow uniformity
//! - texture/sampler pairs
//! - expression reference counts
use super::{ExpressionError, FunctionError, ModuleInfo, ShaderStages, ValidationFlags};
use crate::span::{AddSpan as _, WithSpan};

View File

@ -665,6 +665,7 @@ unsafe fn insert_or_merge<A: HalApi>(
/// - Uses the `start_state_provider` to populate `start_states`
/// - Uses either `end_state_provider` or `start_state_provider`
/// to populate `current_states`.
///
/// If the resource is tracked
/// - Inserts barriers from the state in `current_states`
/// to the state provided by `start_state_provider`.

View File

@ -141,6 +141,7 @@ impl TrackerIndex {
/// - IDs of dead handles can be recycled while resources are internally held alive (and tracked).
/// - The plan is to remove IDs in the long run
/// ([#5121](https://github.com/gfx-rs/wgpu/issues/5121)).
///
/// In order to produce these tracker indices, there is a shared TrackerIndexAllocator
/// per resource type. Indices have the same lifetime as the internal resource they
/// are associated to (alloc happens when creating the resource and free is called when

View File

@ -1038,6 +1038,7 @@ unsafe fn insert_or_merge<A: HalApi>(
/// - Uses the `start_state_provider` to populate `start_states`
/// - Uses either `end_state_provider` or `start_state_provider`
/// to populate `current_states`.
///
/// If the resource is tracked
/// - Inserts barriers from the state in `current_states`
/// to the state provided by `start_state_provider`.