mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
rustdoc JSON: Clarify that Function
is also used for methods
This commit is contained in:
parent
8b5bfaf662
commit
30b7e44a3c
@ -413,6 +413,7 @@ pub enum Abi {
|
||||
Other(String),
|
||||
}
|
||||
|
||||
/// Represents a function (including methods and other associated functions)
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub struct Function {
|
||||
pub decl: FnDecl,
|
||||
|
Loading…
Reference in New Issue
Block a user