Skip to content

Commit a9424d9

Browse files
authored
Remove periods from error messages
1 parent 8e7c0ab commit a9424d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/core/compiler/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ fn rustc(cx: &mut Context<'_, '_>, unit: &Unit, exec: &Arc<dyn Executor>) -> Car
291291
&mut |line| on_stderr_line(state, line, package_id, &target, &mut output_options),
292292
)
293293
.map_err(verbose_if_simple_exit_code)
294-
.chain_err(|| format!("could not compile `{}`.", name))?;
294+
.chain_err(|| format!("could not compile `{}`", name))?;
295295
}
296296

297297
if rustc_dep_info_loc.exists() {
@@ -614,7 +614,7 @@ fn rustdoc(cx: &mut Context<'_, '_>, unit: &Unit) -> CargoResult<Work> {
614614
&mut |line| on_stderr_line(state, line, package_id, &target, &mut output_options),
615615
false,
616616
)
617-
.chain_err(|| format!("could not document `{}`.", name))?;
617+
.chain_err(|| format!("could not document `{}`", name))?;
618618
Ok(())
619619
}))
620620
}

0 commit comments

Comments
 (0)