* 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> 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:
@@ -130,6 +130,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>>,
|
||||
}
|
||||
|
||||
@@ -147,7 +148,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) {
|
||||
@@ -163,6 +164,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>>,
|
||||
}
|
||||
|
||||
@@ -187,7 +189,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