radicle: impl AliasStore for Profile
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
parent
7d4ce8207d
commit
93a6f90d6e
|
|
@ -381,6 +381,12 @@ impl std::ops::DerefMut for Profile {
|
|||
}
|
||||
}
|
||||
|
||||
impl AliasStore for Profile {
|
||||
fn alias(&self, nid: &NodeId) -> Option<Alias> {
|
||||
self.aliases().alias(nid)
|
||||
}
|
||||
}
|
||||
|
||||
/// Holds multiple alias stores, and will try
|
||||
/// them one by one when asking for an alias.
|
||||
pub struct Aliases {
|
||||
|
|
|
|||
Loading…
Reference in New Issue