Repository: slog-rs/slog (language: rust)

Issue:
slog::Value doc says "Types that implement this type", should say "this trait_
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"?


Discussion / hints:
Yeap. Good catch.

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73af3604..b08e2f7f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
 ## [Unreleased]
+* doc: Fix typo in slog::Value docs (issue #335)
+  * Thank you to @larswirzenius for noticing this!
 * doc: Fix "lazy continuation" in `slog::Logger` doc
   * 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)
 * Fix some internal warnings
diff --git a/src/lib.rs b/src/lib.rs
index 7fe6c404..8d3bce9c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2953,7 +2953,7 @@ where
 // {{{ Value
 /// Value that can be serialized
 ///
-/// Types that implement this type implement custom serialization in the
+/// Types that implement this trait have custom serialization in the
 /// structured part of the log macros. Without an implementation of `Value` for
 /// your type you must emit using either the `?` "debug", `#?` "pretty-debug",
 /// `%` "display", `#%` "alternate display" or [`SerdeValue`](trait.SerdeValue.html)


Test patch: