Skip to content

Commit 4727f8e

Browse files
authored
Update lib.rs
1 parent ac82e97 commit 4727f8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

chalk-rust-ir/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,12 @@ pub struct TraitDatum<I: Interner> {
131131
/// [`associated_ty_data`]: ../chalk_solve/trait.RustIrDatabase.html#tymethod.associated_ty_data
132132
pub associated_ty_ids: Vec<AssocTypeId<I>>,
133133

134-
/// A list of the traits that are "well known" to chalk, which means that
135-
/// the chalk-solve crate has special, hard-coded impls for them.
134+
/// If this is a well-known trait, which one? If `None`, this is a regular, user-defined trait.
136135
pub well_known: Option<WellKnownTrait>,
137136
}
138137

138+
/// A list of the traits that are "well known" to chalk, which means that
139+
/// the chalk-solve crate has special, hard-coded impls for them.
139140
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
140141
pub enum WellKnownTrait {
141142
SizedTrait,

0 commit comments

Comments
 (0)