mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
doc: fix typo and assert message
This commit is contained in:
@@ -1501,10 +1501,10 @@ impl Tenant {
|
||||
Some(timeline::MaybeDone::Pending(weak)) => {
|
||||
let same = weak
|
||||
.upgrade()
|
||||
// we don't yet have Reciver::same_channel
|
||||
// we don't yet have Receiver::same_channel
|
||||
.map(|rx2| Arc::ptr_eq(&rx, &rx2))
|
||||
.unwrap_or(false);
|
||||
assert!(same, "different channel had been replaced");
|
||||
assert!(same, "different channel had been replaced or dropped");
|
||||
}
|
||||
other => panic!("unexpected MaybeDone: {other:?}"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user