From b0d4760955fcfe30a4e4314fe0f1ba9952650855 Mon Sep 17 00:00:00 2001 From: ErikWDev Date: Tue, 17 Dec 2024 22:32:25 +0100 Subject: [PATCH] spelling + field names --- src/fmt/mod.rs | 8 ++++---- src/logger.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fmt/mod.rs b/src/fmt/mod.rs index b0ee828..4e9269f 100644 --- a/src/fmt/mod.rs +++ b/src/fmt/mod.rs @@ -833,8 +833,8 @@ mod tests { module_path: false, target: false, level: true, - file: false, - line_number: false, + source_file: true, + source_line_number: true, kv_format: &default_kv_format, written_header_value: false, indent: None, @@ -868,8 +868,8 @@ mod tests { module_path: true, target: true, level: true, - file: false, - line_number: false, + source_file: true, + source_line_number: true, kv_format: &default_kv_format, written_header_value: false, indent: None, diff --git a/src/logger.rs b/src/logger.rs index 12fa8d9..7e9b62b 100644 --- a/src/logger.rs +++ b/src/logger.rs @@ -276,7 +276,7 @@ impl Builder { self } - /// Wheter or not to write the source path and line number + /// Whether or not to write the source path and line number /// /// Equivalent to calling both `format_file` and `format_line_number` /// with `true`