From 04a2887f8791bb080b4e76a55949a7c1954dbb97 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 18 Jan 2012 22:37:22 -0800 Subject: Remove '.' after nullary tags in patterns Does what it says on the tin. The next commit will remove support for this syntax. --- src/rustdoc/gen.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/rustdoc/gen.rs') diff --git a/src/rustdoc/gen.rs b/src/rustdoc/gen.rs index 74a849b7a36..160576617d4 100644 --- a/src/rustdoc/gen.rs +++ b/src/rustdoc/gen.rs @@ -121,7 +121,7 @@ fn write_brief( ctxt.w.write_line(brief); ctxt.w.write_line(""); } - none. { } + none { } } } @@ -134,7 +134,7 @@ fn write_desc( ctxt.w.write_line(desc); ctxt.w.write_line(""); } - none. { } + none { } } } @@ -208,13 +208,13 @@ fn write_return( some(d) { ctxt.w.write_line(d); } - none. { } + none { } } } - none. { fail "unimplemented"; } + none { fail "unimplemented"; } } } - none. { } + none { } } } -- cgit 1.4.1-3-g733a5