mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 01:39:25 +00:00
add documentation back
This commit is contained in:
parent
a288c40034
commit
378090acc8
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ pub trait DebugWithDb<Db: ?Sized> {
|
|||
}
|
||||
}
|
||||
|
||||
/// if `include_all_fields` is `false` only identity fields should be read, which means:
|
||||
/// - for [#\[salsa::input\]](salsa_2022_macros::input) no fields
|
||||
/// - for [#\[salsa::tracked\]](salsa_2022_macros::tracked) only fields with `#[id]` attribute
|
||||
/// - for [#\[salsa::interned\]](salsa_2022_macros::interned) any field
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>, db: &Db, include_all_fields: bool) -> fmt::Result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue