Skip to content

Commit

Permalink
Add docs and rename param (#11778)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmturner committed Aug 3, 2024
1 parent b89037f commit de2da34
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 de2da34

Please sign in to comment.