mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
minor: fix typo
This commit is contained in:
parent
af174b9428
commit
f3d84e86c8
5 changed files with 8 additions and 8 deletions
|
@ -456,12 +456,12 @@ pub trait Query: Debug + Default + Sized + for<'d> QueryDb<'d> {
|
|||
/// Name of the query method (e.g., `foo`)
|
||||
const QUERY_NAME: &'static str;
|
||||
|
||||
/// Extact storage for this query from the storage for its group.
|
||||
/// Extract storage for this query from the storage for its group.
|
||||
fn query_storage<'a>(
|
||||
group_storage: &'a <Self as QueryDb<'_>>::GroupStorage,
|
||||
) -> &'a std::sync::Arc<Self::Storage>;
|
||||
|
||||
/// Extact storage for this query from the storage for its group.
|
||||
/// Extract storage for this query from the storage for its group.
|
||||
fn query_storage_mut<'a>(
|
||||
group_storage: &'a <Self as QueryDb<'_>>::GroupStorage,
|
||||
) -> &'a std::sync::Arc<Self::Storage>;
|
||||
|
|
|
@ -40,7 +40,7 @@ pub(crate) trait LruNode: Sized + Debug {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct LruIndex {
|
||||
/// Index in the approprate LRU list, or std::usize::MAX if not a
|
||||
/// Index in the appropriate LRU list, or std::usize::MAX if not a
|
||||
/// member.
|
||||
index: AtomicUsize,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue