Skip to content

Commit 25a8b9f

Browse files
authored
Fix newline in PointLightShadowMap comment (#18791)
A clippy failure slipped into #18768, although I'm not sure why CI didn't catch it. ```sh > cargo clippy --version clippy 0.1.85 (4eb161250e 2025-03-15) > cargo run -p ci ... error: empty line after doc comment --> crates\bevy_pbr\src\light\mod.rs:105:5 | 105 | / /// The width and height of each of the 6 faces of the cubemap. 106 | | | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 106 | /// | ```
1 parent 73f0332 commit 25a8b9f

File tree

1 file changed

+0
-1
lines changed
  • crates/bevy_pbr/src/light

1 file changed

+0
-1
lines changed

crates/bevy_pbr/src/light/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ pub mod light_consts {
103103
#[reflect(Resource, Debug, Default, Clone)]
104104
pub struct PointLightShadowMap {
105105
/// The width and height of each of the 6 faces of the cubemap.
106-
107106
///
108107
/// Defaults to `1024`.
109108
pub size: usize,

0 commit comments

Comments
 (0)