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:
@@ -55,9 +55,9 @@ pub fn run(path: &Path) -> TestResult {
|
||||
for (func, details) in testfile.functions {
|
||||
let mut context = Context {
|
||||
preamble_comments: &testfile.preamble_comments,
|
||||
details: details,
|
||||
details,
|
||||
verified: false,
|
||||
flags: flags,
|
||||
flags,
|
||||
isa: None,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user