From ebf87526dd536f56171d03209aa63384e442ec4c Mon Sep 17 00:00:00 2001 From: Andy Leiserson Date: Thu, 20 Mar 2025 16:29:44 -0700 Subject: [PATCH] [doc] Correct the doc comment for `Expression::FunctionArgument` (#7382) --- naga/src/ir/mod.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/naga/src/ir/mod.rs b/naga/src/ir/mod.rs index 167871a8c..c83ff554a 100644 --- a/naga/src/ir/mod.rs +++ b/naga/src/ir/mod.rs @@ -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.