Skip to content

Commit

Permalink
chore: satisfy clippy::doc_lazy_continuation
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Nov 24, 2024
1 parent 78e7c8d commit 324ae8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions wgpu/src/api/bind_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ pub enum BindingResource<'a> {
/// resource certain checks take place.
/// - TLAS must have been built, if not a validation error is generated
/// - All BLASes that were built into the TLAS must be built before the TLAS, if this was not satisfied and TLAS was
/// built using `build_acceleration_structures` a validation error is generated otherwise this is a part of the
/// safety section of `build_acceleration_structures_unsafe_tlas` and so undefined behavior occurs.
/// built using `build_acceleration_structures` a validation error is generated otherwise this is a part of the
/// safety section of `build_acceleration_structures_unsafe_tlas` and so undefined behavior occurs.
AccelerationStructure(&'a Tlas),
}
#[cfg(send_sync)]
Expand Down
4 changes: 2 additions & 2 deletions wgpu/src/api/blas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ static_assertions::assert_impl_all!(CreateBlasDescriptor<'_>: Send, Sync);
///
/// Each one contains:
/// - A reference to a BLAS, this ***must*** be interacted with using [TlasInstance::new] or [TlasInstance::set_blas], a
/// TlasInstance that references a BLAS keeps that BLAS from being dropped, but if the BLAS is explicitly destroyed (e.g.
/// using [Blas::destroy]) the TlasInstance becomes invalid
/// TlasInstance that references a BLAS keeps that BLAS from being dropped, but if the BLAS is explicitly destroyed (e.g.
/// using [Blas::destroy]) the TlasInstance becomes invalid
/// - A user accessible transformation matrix
/// - A user accessible mask
/// - A user accessible custom index
Expand Down
2 changes: 1 addition & 1 deletion wgpu/src/api/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ impl Device {
/// if `sizes` is [BlasGeometrySizeDescriptors::Triangles] then the following must be satisfied
/// - For every geometry descriptor (for the purposes this is called `geo_desc`) of `sizes.descriptors` the following must be satisfied:
/// - `geo_desc.vertex_format` must be within allowed formats (allowed formats for a given feature set
/// may be queried with [Features::allowed_vertex_formats_for_blas]).
/// may be queried with [Features::allowed_vertex_formats_for_blas]).
/// - Both or neither of `geo_desc.index_format` and `geo_desc.index_count` must be provided.
///
/// [Features::EXPERIMENTAL_RAY_TRACING_ACCELERATION_STRUCTURE]: wgt::Features::EXPERIMENTAL_RAY_TRACING_ACCELERATION_STRUCTURE
Expand Down

0 comments on commit 324ae8d

Please sign in to comment.