diff --git a/lang/parser/src/cst/decls.rs b/lang/parser/src/cst/decls.rs index 29b1ce8290..073382fdb9 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, }