diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-01 11:24:42 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-03 10:39:23 -0800 |
| commit | c765a8e7ad314651b92ff860cda0159c79dbec6e (patch) | |
| tree | 5cb922f942920dc7d6b0f3606e9cd914360b2707 /src/libsyntax/parse | |
| parent | f9a32cdabc1680b89bd7b579dc1e3f8f18c28257 (diff) | |
| download | rust-c765a8e7ad314651b92ff860cda0159c79dbec6e.tar.gz rust-c765a8e7ad314651b92ff860cda0159c79dbec6e.zip | |
Fixing remaining warnings and errors throughout
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 6d2acd3d803..f1dd844fc7c 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -588,8 +588,8 @@ impl BytesContainer for InternedString { } impl fmt::Show for InternedString { - fn fmt(obj: &InternedString, f: &mut fmt::Formatter) { - write!(f.buf, "{}", obj.string.as_slice()); + fn fmt(obj: &InternedString, f: &mut fmt::Formatter) -> fmt::Result { + write!(f.buf, "{}", obj.string.as_slice()) } } |
