mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 19:08:32 +00:00
s/Frozen/Snapshot/
This commit is contained in:
parent
fc2a720ae2
commit
e070bf9809
5 changed files with 18 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
use crate::signal::Signal;
|
||||
use salsa::Database;
|
||||
use salsa::Frozen;
|
||||
use salsa::ParallelDatabase;
|
||||
use salsa::Snapshot;
|
||||
use std::cell::Cell;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
@ -141,8 +141,8 @@ impl Database for ParDatabaseImpl {
|
|||
}
|
||||
|
||||
impl ParallelDatabase for ParDatabaseImpl {
|
||||
fn snapshot(&self) -> Frozen<Self> {
|
||||
Frozen::new(ParDatabaseImpl {
|
||||
fn snapshot(&self) -> Snapshot<Self> {
|
||||
Snapshot::new(ParDatabaseImpl {
|
||||
runtime: self.runtime.snapshot(self),
|
||||
knobs: self.knobs.clone(),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue