From 24c4afa8d35d60035fb557277f56533fde741caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 15 Nov 2017 23:55:47 +0100 Subject: [PATCH] style: Remove unnecessary explicit argument passing. It passes kwargs anyway, and it's not used. --- components/style/properties/helpers.mako.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/style/properties/helpers.mako.rs b/components/style/properties/helpers.mako.rs index 27d0cb907db..8dc422915d9 100644 --- a/components/style/properties/helpers.mako.rs +++ b/components/style/properties/helpers.mako.rs @@ -680,10 +680,9 @@ % endif -<%def name="shorthand(name, sub_properties, experimental=False, derive_serialize=False, **kwargs)"> +<%def name="shorthand(name, sub_properties, derive_serialize=False, **kwargs)"> <% - shorthand = data.declare_shorthand(name, sub_properties.split(), experimental=experimental, - **kwargs) + shorthand = data.declare_shorthand(name, sub_properties.split(), **kwargs) %> % if shorthand: /// ${shorthand.spec}