(&mut self, arg: &ast::ParameterWithDefault)
| 502 | Ok(()) |
| 503 | } |
| 504 | fn unparse_function_arg(&mut self, arg: &ast::ParameterWithDefault) -> fmt::Result { |
| 505 | self.unparse_arg(&arg.parameter)?; |
| 506 | if let Some(default) = &arg.default { |
| 507 | write!(self, "={}", UnparseExpr::new(default, self.source))?; |
| 508 | } |
| 509 | Ok(()) |
| 510 | } |
| 511 | |
| 512 | fn unparse_arg(&mut self, arg: &ast::Parameter) -> fmt::Result { |
| 513 | self.p_id(&arg.name)?; |
no test coverage detected