Skip to content

Commit 19525e2

Browse files
committed
[watch_os] lifetime fix
1 parent e008f17 commit 19525e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl From<io::Error> for Error {
168168
}
169169

170170
impl Display for Error {
171-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
171+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
172172
write!(f, "{:?}: {}", self.kind, self.message)
173173
}
174174
}
@@ -2207,7 +2207,7 @@ impl Build {
22072207
ArchSpec::Simulator(arch) => {
22082208
cmd.args.push(arch.into());
22092209
cmd.args
2210-
.push(format!("-mwatch-simulator-version-min={}", min_version).into());
2210+
.push(format!("-mwatchsimulator-version-min={}", min_version).into());
22112211
"watchsimulator"
22122212
}
22132213
};

0 commit comments

Comments
 (0)