Upgrade to Rust 1.17.

- Remove some uses of 'static in const and static globals that are no
  longer needed.
- Use the new struct initialization shorthand.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-27 12:28:18 -07:00
parent 4c8eb85f39
commit 962a3a6a5e
31 changed files with 118 additions and 153 deletions

View File

@@ -261,11 +261,11 @@ fn add_repair(concat: Opcode,
hi_num: usize,
repairs: &mut Vec<Repair>) {
repairs.push(Repair {
concat: concat,
split_type: split_type,
ebb: ebb,
num: num,
hi_num: hi_num,
concat,
split_type,
ebb,
num,
hi_num,
});
}