From 9863cd256f2c833f448feca2782095d537b9e64f Mon Sep 17 00:00:00 2001 From: David Binder Date: Wed, 17 Apr 2024 13:14:35 +0200 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Süberkrüb --- lang/parser/src/cst/decls.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/parser/src/cst/decls.rs b/lang/parser/src/cst/decls.rs index 29b1ce829..073382fdb 100644 --- a/lang/parser/src/cst/decls.rs +++ b/lang/parser/src/cst/decls.rs @@ -152,11 +152,11 @@ impl From for SelfParam { /// A `Param` can either be a single parameter, like `x : T`, or a list of parameters, like `x, y, z : T`. #[derive(Debug, Clone)] pub struct Param { - /// The obligatory parameter. + /// The obligatory parameter name. pub name: exp::BindingSite, - /// A possible list of additional parameters. + /// A possible list of additional parameter names. pub names: Vec, - /// The type of the parameter. + /// The type of the parameter(s). pub typ: Rc, }