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/libcore/char.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/char.rs') diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 1903ac8dbd8..3d7fa5ec3e8 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -95,7 +95,7 @@ pure fn is_alphanumeric(c: char) -> bool { pure fn to_digit(c: char) -> u8 unsafe { alt maybe_digit(c) { option::some(x) { x } - option::none. { fail; } + option::none { fail; } } } -- cgit 1.4.1-3-g733a5