Skip to content

Commit eeab934

Browse files
da-xehuss
andauthored
Update src/cargo/core/profiles.rs
Co-Authored-By: Eric Huss <[email protected]>
1 parent 375a46f commit eeab934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/profiles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ impl Profiles {
295295
/// select for the package that was actually built.
296296
pub fn base_profile(&self, profile_kind: &ProfileKind) -> CargoResult<Profile> {
297297
match self.by_name.get(profile_kind.name()) {
298-
None => failure::bail!("Profile {} undefined", profile_kind.name()),
298+
None => failure::bail!("Profile `{}` undefined", profile_kind.name()),
299299
Some(r) => Ok(r.get_profile(None, true, UnitFor::new_normal())),
300300
}
301301
}

0 commit comments

Comments
 (0)