diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-01-18 22:37:22 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-01-18 23:17:34 -0800 |
| commit | 04a2887f8791bb080b4e76a55949a7c1954dbb97 (patch) | |
| tree | f072b2cc1e0b41270041a3a10a4fc313d3fa1a89 /src/rustdoc/gen.rs | |
| parent | ca7cfbe3d0251766217e5d4e559903e655e7549b (diff) | |
| download | rust-04a2887f8791bb080b4e76a55949a7c1954dbb97.tar.gz rust-04a2887f8791bb080b4e76a55949a7c1954dbb97.zip | |
Remove '.' after nullary tags in patterns
Does what it says on the tin. The next commit will remove support for this syntax.
Diffstat (limited to 'src/rustdoc/gen.rs')
| -rw-r--r-- | src/rustdoc/gen.rs | 10 |
1 files changed, 5 insertions, 5 deletions
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 { } } } |
