(&mut self, func: &Function)
| 1686 | |
| 1687 | impl FnSig { |
| 1688 | fn update_for_func(&mut self, func: &Function) { |
| 1689 | if let FunctionKind::Method(_) | FunctionKind::AsyncMethod(_) = &func.kind { |
| 1690 | self.self_arg = Some("&self".into()); |
| 1691 | self.self_is_first_param = true; |
| 1692 | } |
| 1693 | } |
| 1694 | } |
| 1695 | |
| 1696 | pub fn to_rust_ident(name: &str) -> String { |
no outgoing calls
no test coverage detected