style: Remove the special-case in single_keyword_computed.

The other case is pretty much the same.
This commit is contained in:
Emilio Cobos Álvarez 2017-09-09 13:14:19 +02:00
parent 9788ffe3e4
commit 900eaec3cc
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -500,7 +500,6 @@
<%def name="single_keyword(name, values, vector=False, **kwargs)">
<%call expr="single_keyword_computed(name, values, vector, **kwargs)">
% if not "extra_specified" in kwargs and ("aliases" in kwargs or (("extra_%s_aliases" % product) in kwargs)):
impl ToComputedValue for SpecifiedValue {
type ComputedValue = computed_value::T;
@ -521,11 +520,6 @@
}
}
}
% else:
use values::computed::ComputedValueAsSpecified;
impl ComputedValueAsSpecified for SpecifiedValue {}
% endif
</%call>
</%def>