mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Auto merge of #17417 - Wilfred:intern_macros_salsa, r=Veykril
refactor: Prefer plain trait definitions over macros for impl_intern_value_trivial `impl_intern_value_trivial` can be defined with a trait directly, so prefer that over a macro definition.
This commit is contained in:
commit
6b8b8ff4c5
7 changed files with 37 additions and 33 deletions
|
@ -40,7 +40,7 @@ use std::panic::{self, UnwindSafe};
|
|||
|
||||
pub use crate::durability::Durability;
|
||||
pub use crate::intern_id::InternId;
|
||||
pub use crate::interned::{InternKey, InternValue};
|
||||
pub use crate::interned::{InternKey, InternValue, InternValueTrivial};
|
||||
pub use crate::runtime::Runtime;
|
||||
pub use crate::runtime::RuntimeId;
|
||||
pub use crate::storage::Storage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue