forked from mirrors/gecko-dev
Bug 1866480 - Fix redundant_static_lifetimes some rust generated code r=xpcom-reviewers,emilio
Depends on D194527 Differential Revision: https://phabricator.services.mozilla.com/D194627
This commit is contained in:
parent
36e14ab4db
commit
20eddd44eb
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ def print_rust_macros_bindings(idl, fd, relpath):
|
|||
fd = rust.AutoIndent(fd)
|
||||
|
||||
fd.write(header % {"relpath": relpath})
|
||||
fd.write("{static D: &'static [Interface] = &[\n")
|
||||
fd.write("{static D: &[Interface] = &[\n")
|
||||
|
||||
for p in idl.productions:
|
||||
if p.kind == "interface":
|
||||
|
|
|
|||
Loading…
Reference in a new issue