mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-28 10:50:39 +00:00
chore: upgrade rust toolchain to latest nightly (#2049)
* chore: upgrade rust toolchain to latest nightly * rebase develop * update rust toolchain in ci
This commit is contained in:
@@ -37,7 +37,9 @@ impl MockDistributedInstance {
|
||||
.storage_guards
|
||||
.iter()
|
||||
.map(|g| {
|
||||
let TempDirGuard::File(dir) = &g.0 else { unreachable!() };
|
||||
let TempDirGuard::File(dir) = &g.0 else {
|
||||
unreachable!()
|
||||
};
|
||||
dir
|
||||
})
|
||||
.collect()
|
||||
@@ -63,7 +65,9 @@ pub struct MockStandaloneInstance {
|
||||
|
||||
impl MockStandaloneInstance {
|
||||
pub fn data_tmp_dir(&self) -> &TempDir {
|
||||
let TempDirGuard::File(dir) = &self._guard.storage_guard.0 else { unreachable!() };
|
||||
let TempDirGuard::File(dir) = &self._guard.storage_guard.0 else {
|
||||
unreachable!()
|
||||
};
|
||||
dir
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user