Skip to content

Commit 4e24c23

Browse files
committed
doc: Fix "lazy continuation" in slog::Logger
This is a mistake in markdown syntax, caught by a clippy lint: https://rust-lang.github.io/rust-clippy/rust-1.81.0/index.html#/doc_lazy_continuation
1 parent 7554cb9 commit 4e24c23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
8+
* doc: Fix "lazy continuation" in `slog::Logger` doc
9+
* This mistake was caught by a new lint [`#[warn(clippy::doc_lazy_continuation)]`](https://rust-lang.github.io/rust-clippy/rust-1.81.0/index.html#/doc_lazy_continuation)
810
* Fix some internal warnings
911
* Example: Avoid the new [`#[warn(unexpected_cfgs)]`](https://blog.rust-lang.org/2024/05/06/check-cfg.html) lint.
1012
* None of these should affect user crates

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ macro_rules! __slog_builtin {
10691069
/// In an essence `Logger` instance holds two pieces of information:
10701070
///
10711071
/// * drain - destination where to forward logging `Record`s for
1072-
/// processing.
1072+
/// processing.
10731073
/// * context - list of key-value pairs associated with it.
10741074
///
10751075
/// The root `Logger` is created with a `Drain` that will be cloned to every

0 commit comments

Comments
 (0)