Skip to content

Commit d7935b5

Browse files
committed
Run rustfmt
1 parent 0bd867e commit d7935b5

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

chalk-integration/src/db.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ impl RustIrDatabase<ChalkIr> for ChalkDatabase {
158158
}
159159

160160
fn is_object_safe(&self, trait_id: TraitId<ChalkIr>) -> bool {
161-
self.program_ir()
162-
.unwrap()
163-
.is_object_safe(trait_id)
161+
self.program_ir().unwrap().is_object_safe(trait_id)
164162
}
165163
}

chalk-ir/src/debug.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ impl<I: Interner> Debug for DomainGoal<I> {
628628
DomainGoal::Compatible(_) => write!(fmt, "Compatible"),
629629
DomainGoal::DownstreamType(n) => write!(fmt, "DownstreamType({:?})", n),
630630
DomainGoal::Reveal(_) => write!(fmt, "Reveal"),
631-
DomainGoal::ObjectSafe(n) => write!(fmt, "ObjectSafe({:?})", n)
631+
DomainGoal::ObjectSafe(n) => write!(fmt, "ObjectSafe({:?})", n),
632632
}
633633
}
634634
}

chalk-parse/src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ pub enum DomainGoal {
316316
Compatible,
317317
DownstreamType { ty: Ty },
318318
Reveal,
319-
ObjectSafe { id: Identifier }
319+
ObjectSafe { id: Identifier },
320320
}
321321

322322
#[derive(Clone, PartialEq, Eq, Debug)]

0 commit comments

Comments
 (0)