sim: Remove extraneous static
According to clippy, `&'static` can just be `&` for static definitions,
which always have a static lifetime. Clean this up in the arrays in the
code, as well as generation code in imgtool.
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/scripts/imgtool/keys/general.py b/scripts/imgtool/keys/general.py
index e8755f6..8e3c65b 100644
--- a/scripts/imgtool/keys/general.py
+++ b/scripts/imgtool/keys/general.py
@@ -31,7 +31,7 @@
def emit_rust_public(self, file=sys.stdout):
self._emit(
- header="static {}_PUB_KEY: &'static [u8] = &[".format(self.shortname().upper()),
+ header="static {}_PUB_KEY: &[u8] = &[".format(self.shortname().upper()),
trailer="];",
encoded_bytes=self.get_public_bytes(),
indent=" ",