From 87ebaef271a92b6d6781425fdc58052d926d0176 Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Mon, 29 Jul 2024 19:01:05 +0200 Subject: [PATCH] Alright then --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 162fea4..5b02419 100644 --- a/src/error.rs +++ b/src/error.rs @@ -38,7 +38,7 @@ pub enum JsonFieldType { pub enum MerdeJsonError { /// We expected a certain type but got a different one. /// - /// Note that the default implementation of [JsonDeserialize] have tolerances: + /// Note that the default implementations of [crate::JsonDeserialize] have tolerances: /// if we expect a `u32` but get a floating-point number, we'll round it. MismatchedType { /// The expected type. @@ -71,7 +71,7 @@ pub enum MerdeJsonError { /// A field was missing (but we don't know its name) MissingValue, - /// While calling out to [FromStr::from_str] to build a [HashMap], we got an error. + /// While calling out to [FromStr::from_str](std::str::FromStr::from_str) to build a [HashMap](std::collections::HashMap), we got an error. InvalidKey, }