Update to the rustfmt in rust 1.28, which is now stable.
Also, rustfmt's --write-mode=check is now named --check.
This commit is contained in:
@@ -526,7 +526,8 @@ where
|
||||
"imported data cannot contain references"
|
||||
);
|
||||
self.backend.write_data_funcaddr(
|
||||
&mut info.compiled
|
||||
&mut info
|
||||
.compiled
|
||||
.as_mut()
|
||||
.expect("`data` must refer to a defined data object"),
|
||||
offset,
|
||||
@@ -549,7 +550,8 @@ where
|
||||
"imported data cannot contain references"
|
||||
);
|
||||
self.backend.write_data_dataaddr(
|
||||
&mut info.compiled
|
||||
&mut info
|
||||
.compiled
|
||||
.as_mut()
|
||||
.expect("`data` must refer to a defined data object"),
|
||||
offset,
|
||||
|
||||
Reference in New Issue
Block a user