Skip to content

Commit

Permalink
Merge pull request toml-rs#70 from mseri/patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
alexcrichton committed Aug 29, 2015
2 parents 64ae43a + dc0aa5f commit 64e64f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
Error::NeedsKey => write!(f, "need a key to encode"),
Error::NoValue => write!(f, "not value to emit for a previous key"),
Error::NoValue => write!(f, "no value to emit for a previous key"),
Error::InvalidMapKeyLocation => write!(f, "a map cannot be emitted \
at this location"),
Error::InvalidMapKeyType => write!(f, "only strings can be used as \
Expand Down

0 comments on commit 64e64f0

Please sign in to comment.