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`