diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-28 13:00:52 +0200 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-28 13:26:16 +0200 |
commit | ac80fcf220a2739f65148076449e17ad41008131 (patch) | |
tree | aed7d6f2f47c3f4077e0c374d3bcff352996ebf0 /components/style/binding_tools/regen.py | |
parent | c7e1a575a5225ccfb00a38fb50e052d986c0a78d (diff) | |
download | servo-ac80fcf220a2739f65148076449e17ad41008131.tar.gz servo-ac80fcf220a2739f65148076449e17ad41008131.zip |
Fix indent in regen.py; fix imports
Diffstat (limited to 'components/style/binding_tools/regen.py')
-rwxr-xr-x | components/style/binding_tools/regen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py index 3ff6e2c9396..e286b83451f 100755 --- a/components/style/binding_tools/regen.py +++ b/components/style/binding_tools/regen.py @@ -438,7 +438,7 @@ def build(objdir, target_name, debug, debugger, kind_name=None, flags.append("{}BorrowedOrNull".format(ty)) flags.append("--raw-line") flags.append("pub type {0}BorrowedOrNull<'a> = \ - ::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty)) +::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty)) flags.append("--blacklist-type") flags.append("{}Borrowed".format(ty)) flags.append("--raw-line") @@ -455,7 +455,7 @@ def build(objdir, target_name, debug, debugger, kind_name=None, flags.append("{}BorrowedOrNull".format(ty)) flags.append("--raw-line") flags.append("pub type {0}BorrowedOrNull<'a> = \ - ::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty)) +::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty)) # Right now the only immutable borrow types are ones which we import # from the |structs| module. As such, we don't need to create an opaque # type with zero_size_type. If we ever introduce immutable borrow types |