tor-netdir: eliminate ref to abolished MdEntry

This was removed in c3e74973b4
  netdir: Use an even smaller rep for list of microdescs
This commit is contained in:
Ian Jackson 2023-03-27 17:20:33 +01:00
parent 99ffb89b48
commit a746e17c8e
1 changed files with 2 additions and 2 deletions

View File

@ -304,8 +304,8 @@ pub struct NetDir {
///
/// # Implementation note
///
/// For this field, and for `rsidx_by_rsa`, and for
/// `MdEntry::*::rsa_idx`, it might be cool to have references instead.
/// For this field, and for `rsidx_by_rsa`,
/// it might be cool to have references instead.
/// But that would make this into a self-referential structure,
/// which isn't possible in safe rust.
rsidx_by_ed: HashMap<Ed25519Identity, RouterStatusIdx>,