mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Optimize salsa some more
This commit is contained in:
parent
f89d17b426
commit
cc4d0e1bd1
13 changed files with 146 additions and 147 deletions
|
@ -46,7 +46,7 @@ pub(crate) struct AtomicRevision {
|
|||
}
|
||||
|
||||
impl AtomicRevision {
|
||||
pub(crate) fn start() -> Self {
|
||||
pub(crate) const fn start() -> Self {
|
||||
Self { data: AtomicU32::new(START) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue