refactor(dcutr): reshape public API to follow naming guidelines (#3214)

With this patch, the naming of types follows the guidelines discussed in #2217.
This commit is contained in:
Thomas Eizinger
2022-12-20 16:03:40 +11:00
committed by GitHub
parent 06aa694d0a
commit 93335b8818
7 changed files with 65 additions and 32 deletions

View File

@ -100,8 +100,8 @@ pub trait Recorder<Event> {
}
#[cfg(feature = "dcutr")]
impl Recorder<libp2p_dcutr::behaviour::Event> for Metrics {
fn record(&self, event: &libp2p_dcutr::behaviour::Event) {
impl Recorder<libp2p_dcutr::Event> for Metrics {
fn record(&self, event: &libp2p_dcutr::Event) {
self.dcutr.record(event)
}
}