Skip to content

Commit ebf8752

Browse files
[doc] Correct the doc comment for Expression::FunctionArgument (gfx-rs#7382)
1 parent 3bbd97c commit ebf8752

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

naga/src/ir/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,12 +1405,7 @@ pub enum Expression {
14051405

14061406
/// Reference a function parameter, by its index.
14071407
///
1408-
/// A `FunctionArgument` expression evaluates to a pointer to the argument's
1409-
/// value. You must use a [`Load`] expression to retrieve its value, or a
1410-
/// [`Store`] statement to assign it a new value.
1411-
///
1412-
/// [`Load`]: Expression::Load
1413-
/// [`Store`]: Statement::Store
1408+
/// A `FunctionArgument` expression evaluates to the argument's value.
14141409
FunctionArgument(u32),
14151410

14161411
/// Reference a global variable.

0 commit comments

Comments
 (0)