slog-rs / slog

Structured, contextual, extensible, composable logging for Rust
https://slog.rs/
Apache License 2.0
1.58k stars 95 forks source link

slog::Value doc says "Types that implement this type", should say "this trait_ #335

Closed larswirzenius closed 2 months ago

larswirzenius commented 2 months ago

In https://docs.rs/slog/latest/slog/trait.Value.html, the documentation for slog::Value starts

Value that can be serialized

Types that implement this type implement custom serialization in the structured part of the log macros.

Is the "this type" meant to be "this trait"?

dpc commented 2 months ago

Yeap. Good catch.