Add some docs to rustdoc::clean::inline and def_id functions
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
@@ -159,6 +159,7 @@ impl DefId {
|
||||
DefId { krate: LOCAL_CRATE, index }
|
||||
}
|
||||
|
||||
/// Returns whether the item is defined in the crate currently being compiled.
|
||||
#[inline]
|
||||
pub fn is_local(self) -> bool {
|
||||
self.krate == LOCAL_CRATE
|
||||
|
||||
Reference in New Issue
Block a user