diff --git a/src/lib.rs b/src/lib.rs index 314cbc516..4b1e7e576 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1262,7 +1262,7 @@ pub enum Expression { /// Load a value indirectly. /// /// For [`TypeInner::Atomic`] the result is a corresponding scalar. - /// For other types behind the pointer, the result is T. + /// For other types behind the `pointer`, the result is `T`. Load { pointer: Handle }, /// Sample a point from a sampled or a depth image. ImageSample { @@ -1562,7 +1562,7 @@ pub enum Statement { /// /// For [`TypeInner::Atomic`] type behind the pointer, the value /// has to be a corresponding scalar. - /// For other types behind the pointer, the value is T. + /// For other types behind the `pointer`, the value is `T`. /// /// This statement is a barrier for any operations on the /// `Expression::LocalVariable` or `Expression::GlobalVariable`