Add abi field to Method
This commit is contained in:
parent
16b805713c
commit
30ecde0beb
3 changed files with 28 additions and 0 deletions
|
@ -434,12 +434,14 @@ impl From<clean::Impl> for Impl {
|
|||
}
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
crate fn from_function_method(function: clean::Function, has_body: bool) -> Method {
|
||||
let clean::Function { header, decl, generics, all_types: _, ret_types: _ } = function;
|
||||
Method {
|
||||
decl: decl.into(),
|
||||
generics: generics.into(),
|
||||
header: stringify_header(&header),
|
||||
abi: header.abi.to_string(),
|
||||
has_body,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue