From 100f4cd7c346b383726054f9ff1d285701cd4841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 6 Feb 2018 22:40:46 +0100 Subject: [PATCH] style: "%s" % foo is pointless. --- components/style/properties/longhand/position.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/properties/longhand/position.mako.rs b/components/style/properties/longhand/position.mako.rs index 795aa7513e4..4fac4560c19 100644 --- a/components/style/properties/longhand/position.mako.rs +++ b/components/style/properties/longhand/position.mako.rs @@ -196,7 +196,7 @@ ${helpers.predefined_type("order", "Integer", "0", %> % if product == "gecko": // width, height, block-size, inline-size - ${helpers.gecko_size_type("%s" % size, "MozLength", "auto()", + ${helpers.gecko_size_type(size, "MozLength", "auto()", logical, spec=spec % size, animation_value_type="MozLength")} @@ -212,7 +212,7 @@ ${helpers.predefined_type("order", "Integer", "0", animation_value_type="MaxLength")} % else: // servo versions (no keyword support) - ${helpers.predefined_type("%s" % size, + ${helpers.predefined_type(size, "LengthOrPercentageOrAuto", "computed::LengthOrPercentageOrAuto::Auto", "parse_non_negative",