Skip to content

Commit 384c311

Browse files
committed
rustfmt for nightly changes.
1 parent 3a9abe3 commit 384c311

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cargo/core/package_id.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ mod tests {
226226
fn debug() {
227227
let loc = CRATES_IO_INDEX.into_url().unwrap();
228228
let pkg_id = PackageId::new("foo", "1.0.0", SourceId::for_registry(&loc).unwrap()).unwrap();
229-
assert_eq!(r#"PackageId { name: "foo", version: "1.0.0", source: "registry `https://github.com/rust-lang/crates.io-index`" }"#, format!("{:?}", pkg_id));
229+
assert_eq!(
230+
r#"PackageId { name: "foo", version: "1.0.0", source: "registry `https://github.com/rust-lang/crates.io-index`" }"#,
231+
format!("{:?}", pkg_id)
232+
);
230233

231234
let expected = r#"
232235
PackageId {

0 commit comments

Comments
 (0)