Skip to content

Commit

Permalink
Fix typo in file_static() method doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dimo414 committed Sep 30, 2023
1 parent 35ee944 commit b912f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ impl<'a> Record<'a> {
self.file.map(|s| s.get())
}

/// The module path of the message, if it is a `'static` string.
/// The source file containing the message, if it is a `'static` string.
#[inline]
pub fn file_static(&self) -> Option<&'static str> {
match self.file {
Expand Down

0 comments on commit b912f79

Please sign in to comment.