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/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/fs.rs') diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index ec848eed58a..cbfca163c18 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -433,7 +433,7 @@ fn homedir() -> option { secondary() } } - none. { + none { secondary() } }; -- cgit 1.4.1-3-g733a5