Skip to content

Commit

Permalink
Change departures -> rumors to match the more general type
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Bauman <5906042+baumanj@users.noreply.github.com>
  • Loading branch information
baumanj committed Aug 8, 2019
1 parent aa4faaf commit 55254f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/butterfly/src/rumor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ mod storage {
impl<'a, C: ConstKeyRumor> IterableGuard<'a, RumorMap<C>> {
pub fn contains_id(&self, member_id: &str) -> bool {
self.get(C::const_key())
.map(|departures| departures.contains_key(member_id))
.map(|rumors| rumors.contains_key(member_id))
.unwrap_or(false)
}
}
Expand Down

0 comments on commit 55254f0

Please sign in to comment.