]> git.proxmox.com Git - cargo.git/commitdiff
fix typo
authorlikzn <1020193211@qq.com>
Wed, 18 May 2022 15:42:42 +0000 (23:42 +0800)
committerlikzn <1020193211@qq.com>
Wed, 18 May 2022 15:42:42 +0000 (23:42 +0800)
src/cargo/ops/registry.rs
tests/testsuite/publish.rs

index 72d511cd78a0a25e309580380d0b26d71a4cab32..7b5300583cc49a43b38dd490ffabfd99b750d08b 100644 (file)
@@ -109,7 +109,7 @@ pub fn publish(ws: &Workspace<'_>, opts: &PublishOpts<'_>) -> CargoResult<()> {
         }
         if matched_packages.len() > 1 {
             bail!(
-                "found mutilate `{}` in manifest members. Check in manifest path `{}`",
+                "found multiple `{}` in manifest members. Check in manifest path `{}`",
                 opt_in.get(0).unwrap(),
                 ws.root().display()
             )
index 257d204dbcbac22e392e5327ae8120bba68e89f8..f5ec3fc3fe994eb000cf1a9a0feeda6f3c720b29 100644 (file)
@@ -1831,7 +1831,7 @@ fn in_package_workspace_found_mutilate() {
         .with_status(101)
         .with_stderr(
             "\
-error: found mutilate `li*` in manifest members. Check in manifest path `[CWD]`
+error: found multiple `li*` in manifest members. Check in manifest path `[CWD]`
 ",
         )
         .run();