1
Fork 0

cleanup: remove static lifetimes from consts

This commit is contained in:
ljedrz 2018-12-04 12:46:10 +01:00
parent 91d5d56c00
commit d0c64bb296
26 changed files with 88 additions and 91 deletions

View file

@ -47,7 +47,7 @@ impl State {
}
}
const OPTIONS: &'static [&'static str] = &["volatile", "alignstack", "intel"];
const OPTIONS: &[&str] = &["volatile", "alignstack", "intel"];
pub fn expand_asm<'cx>(cx: &'cx mut ExtCtxt,
sp: Span,