@@ -81,7 +81,7 @@ impl<'parameter> ParamValue<'parameter> {
8181///
8282/// Note: The memory it points to is volatile and can contain maliciously crafted
8383/// data, so care should be taken when accessing it. For a safe api, first check
84- /// the type of the memref via [`Self::in_ `], [`Self::out `], or [`Self::inout`].
84+ /// the type of the memref via [`Self::input `], [`Self::output `], or [`Self::inout`].
8585///
8686/// These will return type type-safe versions that unsure that read or write access
8787/// is only allowed based on the underlying [`ParamType`].
@@ -120,12 +120,12 @@ impl<'parameter, A> ParamMemref<'parameter, A> {
120120 }
121121
122122 /// Checks that this param is a [`ParamType::MemrefInput`] and casts access to [`Read`].
123- pub fn in_ ( self ) -> Result < ParamMemref < ' parameter , Read > , InvalidAccessErr < Self , Read > > {
123+ pub fn input ( self ) -> Result < ParamMemref < ' parameter , Read > , InvalidAccessErr < Self , Read > > {
124124 self . access ( ParamType :: MemrefInput )
125125 }
126126
127127 /// Checks that this param is a [`ParamType::MemrefOutput`] and casts access to [`Write`].
128- pub fn out ( self ) -> Result < ParamMemref < ' parameter , Write > , InvalidAccessErr < Self , Write > > {
128+ pub fn output ( self ) -> Result < ParamMemref < ' parameter , Write > , InvalidAccessErr < Self , Write > > {
129129 self . access ( ParamType :: MemrefOutput )
130130 }
131131
0 commit comments