mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 00:59:12 +01:00
[doc] Correct the doc comment for Expression::FunctionArgument (#7382)
This commit is contained in:
1 parent
3bbd97cf0d
commit
ebf87526dd
1 file changed
+1
-6
+1
-6
@@ -1405,12 +1405,7 @@ pub enum Expression {
|
||||
|
||||
/// Reference a function parameter, by its index.
|
||||
///
|
||||
/// A `FunctionArgument` expression evaluates to a pointer to the argument's
|
||||
/// value. You must use a [`Load`] expression to retrieve its value, or a
|
||||
/// [`Store`] statement to assign it a new value.
|
||||
///
|
||||
/// [`Load`]: Expression::Load
|
||||
/// [`Store`]: Statement::Store
|
||||
/// A `FunctionArgument` expression evaluates to the argument's value.
|
||||
FunctionArgument(u32),
|
||||
|
||||
/// Reference a global variable.
|
||||
|
||||
Reference in new issue
Block a user