about summary refs log tree commit diff
path: root/src/libsyntax/parse/comments.rs
diff options
context:
space:
mode:
authorklutzy <klutzytheklutzy@gmail.com>2013-12-31 23:17:59 +0900
committerklutzy <klutzytheklutzy@gmail.com>2014-01-01 19:10:43 +0900
commitfe10c63326eee6220900dcbb92197ccf26e2025b (patch)
treed19b12845e153c61d0d68267b50e93afc2f4f3a4 /src/libsyntax/parse/comments.rs
parenta52cdfdfce58c3fda80d4503a2b198546f96b6c0 (diff)
downloadrust-fe10c63326eee6220900dcbb92197ccf26e2025b.tar.gz
rust-fe10c63326eee6220900dcbb92197ccf26e2025b.zip
syntax::diagnostic: Remove unnecessary traits
This removes trait `handler` and `span_handler`,
and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`.
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
-rw-r--r--src/libsyntax/parse/comments.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs
index 0704bf913d7..b1390253d19 100644
--- a/src/libsyntax/parse/comments.rs
+++ b/src/libsyntax/parse/comments.rs
@@ -342,7 +342,7 @@ pub struct lit {
 // it appears this function is called only from pprust... that's
 // probably not a good thing.
 pub fn gather_comments_and_literals(span_diagnostic:
-                                    @mut diagnostic::span_handler,
+                                    @mut diagnostic::SpanHandler,
                                     path: @str,
                                     srdr: &mut io::Reader)
                                  -> (~[cmnt], ~[lit]) {