From b8dd2d8c67907f61a985e4200d46249211b0306d Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Mon, 25 Feb 2013 16:34:38 +0100 Subject: [PATCH] Fix typo in grammar: underscore, not minus, can appear amongst hex digits. --- doc/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rust.md b/doc/rust.md index 975e4bbb8a209..10fb203d022d6 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -297,7 +297,7 @@ the following forms: num_lit : nonzero_dec [ dec_digit | '_' ] * num_suffix ? | '0' [ [ dec_digit | '_' ] + num_suffix ? | 'b' [ '1' | '0' | '_' ] + int_suffix ? - | 'x' [ hex_digit | '-' ] + int_suffix ? ] ; + | 'x' [ hex_digit | '_' ] + int_suffix ? ] ; num_suffix : int_suffix | float_suffix ;