chore: bump ouroboros from 0.5.1 to 0.9.3 (#18189)
* chore: bump ouroboros from 0.5.1 to 0.9.3 Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.5.1 to 0.9.3. - [Release notes](https://github.com/joshua-maros/ouroboros/releases) - [Commits](https://github.com/joshua-maros/ouroboros/commits) --- updated-dependencies: - dependency-name: ouroboros dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * [auto-commit] Update all Cargo lock files * Api changes Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@ -30,7 +30,7 @@ memmap2 = "0.2.3"
|
||||
num-derive = { version = "0.3" }
|
||||
num-traits = { version = "0.2" }
|
||||
num_cpus = "1.13.0"
|
||||
ouroboros = "0.5.1"
|
||||
ouroboros = "0.9.3"
|
||||
rand = "0.7.0"
|
||||
rayon = "1.5.1"
|
||||
regex = "1.5.4"
|
||||
|
@ -129,6 +129,7 @@ pub enum AccountIndexGetResult<'a, T: 'static> {
|
||||
pub struct ReadAccountMapEntry<T: 'static> {
|
||||
owned_entry: AccountMapEntry<T>,
|
||||
#[borrows(owned_entry)]
|
||||
#[covariant]
|
||||
slot_list_guard: RwLockReadGuard<'this, SlotList<T>>,
|
||||
}
|
||||
|
||||
@ -146,7 +147,7 @@ impl<T: Clone> ReadAccountMapEntry<T> {
|
||||
}
|
||||
|
||||
pub fn ref_count(&self) -> &AtomicU64 {
|
||||
&self.borrow_owned_entry_contents().ref_count
|
||||
&self.borrow_owned_entry().ref_count
|
||||
}
|
||||
|
||||
pub fn unref(&self) {
|
||||
@ -162,6 +163,7 @@ impl<T: Clone> ReadAccountMapEntry<T> {
|
||||
pub struct WriteAccountMapEntry<T: 'static> {
|
||||
owned_entry: AccountMapEntry<T>,
|
||||
#[borrows(owned_entry)]
|
||||
#[covariant]
|
||||
slot_list_guard: RwLockWriteGuard<'this, SlotList<T>>,
|
||||
}
|
||||
|
||||
@ -186,7 +188,7 @@ impl<T: 'static + Clone + IsCached> WriteAccountMapEntry<T> {
|
||||
}
|
||||
|
||||
pub fn ref_count(&self) -> &AtomicU64 {
|
||||
&self.borrow_owned_entry_contents().ref_count
|
||||
&self.borrow_owned_entry().ref_count
|
||||
}
|
||||
|
||||
// create an entry that is equivalent to this process:
|
||||
|
Reference in New Issue
Block a user