Skip to content

Commit

Permalink
Alright then
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Jul 29, 2024
1 parent 63fb22d commit 87ebaef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
}

Expand Down

0 comments on commit 87ebaef

Please sign in to comment.