Skip to content

Commit 30b7e44

Browse files
committed
rustdoc JSON: Clarify that Function is also used for methods
1 parent 8b5bfaf commit 30b7e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustdoc-json-types/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ pub enum Abi {
413413
Other(String),
414414
}
415415

416+
/// Represents a function (including methods and other associated functions)
416417
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
417418
pub struct Function {
418419
pub decl: FnDecl,

0 commit comments

Comments
 (0)