Skip to content

Commit 2a22393

Browse files
committed
[watch_os] lifetime fix
1 parent dddc9e5 commit 2a22393

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
@@ -165,7 +165,7 @@ impl From<io::Error> for Error {
165165
}
166166

167167
impl Display for Error {
168-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
168+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
169169
write!(f, "{:?}: {}", self.kind, self.message)
170170
}
171171
}
@@ -2044,7 +2044,7 @@ impl Build {
20442044
ArchSpec::Simulator(arch) => {
20452045
cmd.args.push(arch.into());
20462046
cmd.args
2047-
.push(format!("-mwatch-simulator-version-min={}", min_version).into());
2047+
.push(format!("-mwatchsimulator-version-min={}", min_version).into());
20482048
"watchsimulator"
20492049
}
20502050
};

0 commit comments

Comments
 (0)