Skip to content

Commit

Permalink
chore: fix cargo doc lint warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Walther committed Dec 22, 2024
1 parent e32ae2c commit 943b534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clovers/src/objects/constant_medium.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! `ConstantMedium` object. This should probably be a [Material] at some point, but this will do for now. This is essentially a fog with a known size, shape and density.
//! `ConstantMedium` object. This should probably be a Material at some point, but this will do for now. This is essentially a fog with a known size, shape and density.
use crate::{
aabb::AABB,
Expand Down Expand Up @@ -41,7 +41,7 @@ fn default_density() -> Float {
}

#[derive(Debug, Clone)]
/// `ConstantMedium` object. This should probably be a [Material] at some point, but this will do for now. This is essentially a fog with a known size, shape and density.
/// `ConstantMedium` object. This should probably be a Material at some point, but this will do for now. This is essentially a fog with a known size, shape and density.
pub struct ConstantMedium<'scene> {
boundary: Box<Hitable<'scene>>,
phase_function: Kind,
Expand Down

0 comments on commit 943b534

Please sign in to comment.