diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-08-29 09:59:42 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-29 09:59:42 -0700 |
commit | 64e64f0da78c7b23300a59837afb0666df04662d (patch) | |
tree | 43fa0892548c6f660cafcfaa880d77a3e783c894 | |
parent | 64ae43a386155b905fd4938ec40a61f3edff1856 (diff) | |
parent | dc0aa5f6c49d6bddc6a4b8a360624c66703bc187 (diff) | |
download | milf-rs-64e64f0da78c7b23300a59837afb0666df04662d.tar.gz milf-rs-64e64f0da78c7b23300a59837afb0666df04662d.zip |
Merge pull request #70 from mseri/patch-1
Fixed typo
-rw-r--r-- | src/encoder/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/mod.rs b/src/encoder/mod.rs index 35e7212..cdfe8e2 100644 --- a/src/encoder/mod.rs +++ b/src/encoder/mod.rs @@ -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 \ |