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,8 +19,10 @@
|
|||
#[inline] pub fn get_initial_specified_value() -> SpecifiedValue { ${initial_specified_value} }
|
||||
% endif
|
||||
#[allow(unused_variables)]
|
||||
#[inline] pub fn parse(context: &ParserContext, input: &mut Parser)
|
||||
-> Result<SpecifiedValue, ()> {
|
||||
#[inline]
|
||||
pub fn parse(context: &ParserContext,
|
||||
input: &mut Parser)
|
||||
-> Result<SpecifiedValue, ()> {
|
||||
% if needs_context:
|
||||
specified::${type}::${parse_method}(context, input)
|
||||
% else:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||
|
||||
<% data.new_style_struct("InheritedTable", inherited=True, gecko_name="TableBorder") %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue