Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Aug 2, 2024
1 parent 6b3f181 commit ba09771
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ impl ParamData {
Some(env)
}

#[allow(unused)]
pub(crate) fn render_source_of_name_value(&self, name_suffix: &str) -> String {
let mut output = format!("{}{name_suffix}", self.name);
output.push_str(&self.modifier.render());
Expand Down Expand Up @@ -945,6 +946,7 @@ impl Modifier {
}
}

#[allow(unused)]
pub(crate) fn render(&self) -> String {
match self {
Self::Optional => "".into(),
Expand Down

0 comments on commit ba09771

Please sign in to comment.