style: Stylistic nits.

This commit is contained in:
Emilio Cobos Álvarez 2017-03-27 03:54:51 +02:00
parent 37d8ee9037
commit bcd107967b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 5 additions and 3 deletions

View file

@ -19,7 +19,9 @@
#[inline] pub fn get_initial_specified_value() -> SpecifiedValue { ${initial_specified_value} } #[inline] pub fn get_initial_specified_value() -> SpecifiedValue { ${initial_specified_value} }
% endif % endif
#[allow(unused_variables)] #[allow(unused_variables)]
#[inline] pub fn parse(context: &ParserContext, input: &mut Parser) #[inline]
pub fn parse(context: &ParserContext,
input: &mut Parser)
-> Result<SpecifiedValue, ()> { -> Result<SpecifiedValue, ()> {
% if needs_context: % if needs_context:
specified::${type}::${parse_method}(context, input) specified::${type}::${parse_method}(context, input)