Skip to content

Commit

Permalink
fixup: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz committed Nov 4, 2022
1 parent b3c9532 commit c4fb085
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindgen/ir/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub struct Function {
/// The linkage of the function.
linkage: Linkage,

/// Whether this function is inlined or not
/// Whether this function is inlined or not.
is_inlined: bool,
}

Expand Down Expand Up @@ -153,6 +153,7 @@ impl Function {
self.linkage
}

/// Whether this function is inlined or not.
pub fn is_inlined(&self) -> bool {
self.is_inlined
}
Expand Down

0 comments on commit c4fb085

Please sign in to comment.