Update zebra-network/src/address_book.rs

Co-Authored-By: Deirdre Connolly <deirdre@zfnd.org>
This commit is contained in:
Henry de Valence 2019-10-18 18:03:35 -07:00 committed by Deirdre Connolly
parent a8ef02c826
commit 62e423bad8
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ impl AddressBook {
}
/// Returns an iterator that drains entries from the address book, removing
/// them in order from most recent to least recent.
/// them in order from least recent to most recent.
pub fn drain_oldest<'a>(&'a mut self) -> impl Iterator<Item = MetaAddr> + 'a {
Drain {
book: self,