Add a standard "expression" argument to the documentation The argument is rendered like below if Some() is passed through: ```text : expression to operate on. Can be a constant, column, or function, and any combination of operators. ``` The argument is rendered like below if None is passed through: ```text : The expression to operate on. Can be a constant,
(
self,
arg_name: impl Into<String>,
expression_type: Option<&str>,
)
| 286 | /// The expression to operate on. Can be a constant, column, or function, and any combination of operators. |
| 287 | /// ``` |
| 288 | pub fn with_standard_argument( |
| 289 | self, |
| 290 | arg_name: impl Into<String>, |
| 291 | expression_type: Option<&str>, |
| 292 | ) -> Self { |
| 293 | let description = format!( |
| 294 | "{} expression to operate on. Can be a constant, column, or function, and any combination of operators.", |
| 295 | expression_type.unwrap_or("The") |
| 296 | ); |
| 297 | self.with_argument(arg_name, description) |
| 298 | } |
| 299 | |
| 300 | pub fn with_alternative_syntax(mut self, syntax_name: impl Into<String>) -> Self { |
| 301 | let mut alternative_syntax_array = self.alternative_syntax.unwrap_or_default(); |
no test coverage detected