From b912f79e81f70b81faa97d25c48e3b84cff1f235 Mon Sep 17 00:00:00 2001 From: Michael Diamond Date: Sat, 30 Sep 2023 12:27:42 -0700 Subject: [PATCH] Fix typo in file_static() method doc --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cc5172b8f..46d4378af 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 {