Skip to content

Commit 2659681

Browse files
committed
Update error message to not start with capital letters
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent 4d401bd commit 2659681

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/util/toml_mut/dependency.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl Dependency {
279279
let src = WorkspaceSource::new();
280280
src.into()
281281
} else {
282-
let mut msg = format!("Unrecognized dependency source for `{key}`");
282+
let mut msg = format!("unrecognized dependency source for `{key}`");
283283
if table.is_empty() {
284284
msg.push_str(
285285
", expected a table with a `version`, `git`, `path`, or `workspace` key",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
error: Unrecognized dependency source for `your-face`, expected a table with a `version`, `git`, `path`, or `workspace` key
1+
error: unrecognized dependency source for `your-face`, expected a table with a `version`, `git`, `path`, or `workspace` key

0 commit comments

Comments
 (0)