From bcd107967b932c13aa86e21cb0aca36072dbf6a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 27 Mar 2017 03:54:51 +0200 Subject: [PATCH] style: Stylistic nits. --- components/style/properties/helpers.mako.rs | 6 ++++-- .../style/properties/longhand/inherited_table.mako.rs | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/style/properties/helpers.mako.rs b/components/style/properties/helpers.mako.rs index a2d89dc4d34f..5b31a63c5a90 100644 --- a/components/style/properties/helpers.mako.rs +++ b/components/style/properties/helpers.mako.rs @@ -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 { + #[inline] + pub fn parse(context: &ParserContext, + input: &mut Parser) + -> Result { % if needs_context: specified::${type}::${parse_method}(context, input) % else: diff --git a/components/style/properties/longhand/inherited_table.mako.rs b/components/style/properties/longhand/inherited_table.mako.rs index b54f34433ecc..4e1d9a608259 100644 --- a/components/style/properties/longhand/inherited_table.mako.rs +++ b/components/style/properties/longhand/inherited_table.mako.rs @@ -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") %>