]> git.proxmox.com Git - cargo.git/commitdiff
Remove periods from error messages
authorCamelid <37223377+camelid@users.noreply.github.com>
Thu, 27 Aug 2020 02:51:53 +0000 (19:51 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Aug 2020 02:51:53 +0000 (19:51 -0700)
src/cargo/core/compiler/mod.rs

index 45aa272f7c59bf09bd6b97de01a1aa2d9f09e0f4..54b9668df39455b2be93b17768a1a4cd513979f9 100644 (file)
@@ -291,7 +291,7 @@ fn rustc(cx: &mut Context<'_, '_>, unit: &Unit, exec: &Arc<dyn Executor>) -> Car
                 &mut |line| on_stderr_line(state, line, package_id, &target, &mut output_options),
             )
             .map_err(verbose_if_simple_exit_code)
-            .chain_err(|| format!("could not compile `{}`.", name))?;
+            .chain_err(|| format!("could not compile `{}`", name))?;
         }
 
         if rustc_dep_info_loc.exists() {
@@ -614,7 +614,7 @@ fn rustdoc(cx: &mut Context<'_, '_>, unit: &Unit) -> CargoResult<Work> {
                 &mut |line| on_stderr_line(state, line, package_id, &target, &mut output_options),
                 false,
             )
-            .chain_err(|| format!("could not document `{}`.", name))?;
+            .chain_err(|| format!("could not document `{}`", name))?;
         Ok(())
     }))
 }