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:
@@ -70,9 +70,9 @@ impl LiveValueVec {
|
||||
fn push(&mut self, value: Value, endpoint: Inst, affinity: Affinity) {
|
||||
self.values
|
||||
.push(LiveValue {
|
||||
value: value,
|
||||
endpoint: endpoint,
|
||||
affinity: affinity,
|
||||
value,
|
||||
endpoint,
|
||||
affinity,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user