mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Fix indentation in InheritTypes.
This commit is contained in:
parent
05db1a4499
commit
c54e79b2f2
1 changed files with 2 additions and 2 deletions
|
@ -5242,10 +5242,10 @@ class GlobalGenRoots():
|
||||||
impl ${selfName} for ${baseName} {
|
impl ${selfName} for ${baseName} {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn ${fname}(&self) -> bool {
|
fn ${fname}(&self) -> bool {
|
||||||
let base: &${parentName} = ${parentName}Cast::from_actual(self);
|
let base: &${parentName} = ${parentName}Cast::from_actual(self);
|
||||||
base.${fname}()
|
base.${fname}()
|
||||||
}
|
}
|
||||||
}\
|
}
|
||||||
""").substitute({'fname': 'is_' + name.lower(),
|
""").substitute({'fname': 'is_' + name.lower(),
|
||||||
'selfName': name + 'Derived',
|
'selfName': name + 'Derived',
|
||||||
'baseName': protoDescriptor.concreteType,
|
'baseName': protoDescriptor.concreteType,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue