mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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} {
|
||||
#[inline]
|
||||
fn ${fname}(&self) -> bool {
|
||||
let base: &${parentName} = ${parentName}Cast::from_actual(self);
|
||||
let base: &${parentName} = ${parentName}Cast::from_actual(self);
|
||||
base.${fname}()
|
||||
}
|
||||
}\
|
||||
}
|
||||
""").substitute({'fname': 'is_' + name.lower(),
|
||||
'selfName': name + 'Derived',
|
||||
'baseName': protoDescriptor.concreteType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue