mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Stylistic nits.
This commit is contained in:
parent
37d8ee9037
commit
bcd107967b
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||||
|
|
||||||
<% data.new_style_struct("InheritedTable", inherited=True, gecko_name="TableBorder") %>
|
<% data.new_style_struct("InheritedTable", inherited=True, gecko_name="TableBorder") %>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue