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/libstd/c_vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/c_vec.rs') diff --git a/src/libstd/c_vec.rs b/src/libstd/c_vec.rs index 58ed593a6c7..5bab771ab7d 100644 --- a/src/libstd/c_vec.rs +++ b/src/libstd/c_vec.rs @@ -48,7 +48,7 @@ tag t { resource dtor_res(dtor: option::t) { alt dtor { - option::none. { } + option::none { } option::some(f) { f(); } } } -- cgit 1.4.1-3-g733a5