Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Süberkrüb <[email protected]>
  • Loading branch information
BinderDavid and timsueberkrueb authored Apr 17, 2024
1 parent cb548cf commit 9863cd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lang/parser/src/cst/decls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ impl From<Scrutinee> 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<exp::BindingSite>,
/// The type of the parameter.
/// The type of the parameter(s).
pub typ: Rc<exp::Exp>,
}

Expand Down

0 comments on commit 9863cd2

Please sign in to comment.