mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:26 +00:00
Remove unnecessary path prefixes (#4492)
This commit is contained in:
parent
a8d080c825
commit
e8e66f3824
13 changed files with 252 additions and 324 deletions
|
@ -90,7 +90,7 @@ impl DerefMut for CacheKeyHasher {
|
|||
/// * Cache keys must be deterministic where hash keys do not have this constraint. That's why pointers don't implement [`CacheKey`] but they implement [`Hash`].
|
||||
/// * Ideally, cache keys are portable
|
||||
///
|
||||
/// [`Hash`](std::hash::Hash)
|
||||
/// [`Hash`](Hash)
|
||||
pub trait CacheKey {
|
||||
fn cache_key(&self, state: &mut CacheKeyHasher);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue