Skip to content

Commit bbdd429

Browse files
authored
Fixup typo in error message (havee -> have) (#3453)
1 parent 9de45c8 commit bbdd429

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crate_universe/src/splicing/splicer.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl<'a> SplicerKind<'a> {
146146
let mut manifest = (*manifest).clone();
147147
let manifest_dir = path
148148
.parent()
149-
.expect("Every manifest should havee a parent directory");
149+
.expect("Every manifest should have a parent directory");
150150

151151
// Link the sources of the root manifest into the new workspace
152152
symlink_roots(
@@ -158,7 +158,7 @@ impl<'a> SplicerKind<'a> {
158158
// Optionally install the cargo config after contents have been symlinked
159159
Self::setup_cargo_config(&splicing_manifest.cargo_config, workspace_dir.as_std_path())?;
160160

161-
// Add any additional depeendencies to the root package
161+
// Add any additional dependencies to the root package
162162
if !splicing_manifest.direct_packages.is_empty() {
163163
Self::inject_direct_packages(&mut manifest, &splicing_manifest.direct_packages)?;
164164
}
@@ -186,7 +186,7 @@ impl<'a> SplicerKind<'a> {
186186
) -> Result<SplicedManifest> {
187187
let manifest_dir = path
188188
.parent()
189-
.expect("Every manifest should havee a parent directory");
189+
.expect("Every manifest should have a parent directory");
190190

191191
// Link the sources of the root manifest into the new workspace
192192
symlink_roots(
@@ -255,7 +255,7 @@ impl<'a> SplicerKind<'a> {
255255
let workspace_metadata = WorkspaceMetadata::new(splicing_manifest, installations)?;
256256
workspace_metadata.inject_into(&mut manifest)?;
257257

258-
// Add any additional depeendencies to the root package
258+
// Add any additional dependencies to the root package
259259
if !splicing_manifest.direct_packages.is_empty() {
260260
Self::inject_direct_packages(&mut manifest, &splicing_manifest.direct_packages)?;
261261
}
@@ -382,7 +382,7 @@ impl<'a> SplicerKind<'a> {
382382

383383
let manifest_dir = path
384384
.parent()
385-
.expect("Every manifest should havee a parent directory");
385+
.expect("Every manifest should have a parent directory");
386386

387387
let dest_package_dir = workspace_dir.join(package_name);
388388

0 commit comments

Comments
 (0)