]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #37081 - p512:master, r=sfackler
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 11 Oct 2016 15:51:27 +0000 (17:51 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2016 15:51:27 +0000 (17:51 +0200)
Changed 0 into '0'

Right now `0` is an undefined production rule.
[Documentation following the grammar specification](https://doc.rust-lang.org/nightly/std/fmt/#sign0) strongly suggests `'0'` is meant as it is used as a character literal.

r? @steveklabnik


Trivial merge