Skip to content

Commit

Permalink
Merge #617
Browse files Browse the repository at this point in the history
617: Cleanup error messages that should not contain the string TODO r=jonasbb a=jonasbb

bors r+

Co-authored-by: Jonas Bushart <jonas@bushart.org>
  • Loading branch information
bors[bot] and jonasbb authored Jul 11, 2023
2 parents 9e1c3eb + dbe7301 commit e096f0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions serde_with/src/key_value_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ where
self.delegate
.serialize_entry(&key, &SerContent::Seq(self.content))
} else {
Err(SerError::custom("TODO, missing value for `$key$` field"))
Err(SerError::custom("missing value for `$key$` field"))
}
}
}
Expand Down Expand Up @@ -739,7 +739,7 @@ where
self.delegate
.serialize_entry(&key, &SerContent::Tuple(self.content))
} else {
Err(SerError::custom("TODO, missing value for `$key$` field"))
Err(SerError::custom("missing value for `$key$` field"))
}
}
}
Expand Down Expand Up @@ -780,7 +780,7 @@ where
self.delegate
.serialize_entry(&key, &SerContent::TupleStruct(self.name, self.content))
} else {
Err(SerError::custom("TODO, missing value for `$key$` field"))
Err(SerError::custom("missing value for `$key$` field"))
}
}
}
Expand Down Expand Up @@ -842,7 +842,7 @@ where
self.delegate
.serialize_entry(&key, &SerContent::Map(self.content))
} else {
Err(SerError::custom("TODO, missing value for `$key$` field"))
Err(SerError::custom("missing value for `$key$` field"))
}
}
}
Expand Down Expand Up @@ -889,7 +889,7 @@ where
self.delegate
.serialize_entry(&key, &SerContent::Struct(self.name, self.content))
} else {
Err(SerError::custom("TODO, missing value for `key` field"))
Err(SerError::custom("missing value for `$key$` field"))
}
}
}
Expand Down

0 comments on commit e096f0b

Please # to comment.