Skip to content

Commit

Permalink
Add docs and rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmturner committed Aug 2, 2024
1 parent 0332eb5 commit c7e4325
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions datafusion/expr/src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@ impl Signature {
}
}

pub fn numeric(num: usize, volatility: Volatility) -> Self {
/// A specified number of numeric arguments
pub fn numeric(arg_count: usize, volatility: Volatility) -> Self {
Self {
type_signature: TypeSignature::Numeric(num),
type_signature: TypeSignature::Numeric(arg_count),
volatility,
}
}
Expand Down

0 comments on commit c7e4325

Please sign in to comment.