Merge branch 'warning' into 'main'

Fix a silly clippy warning

See merge request tpo/core/arti!1226
This commit is contained in:
Alexander Færøy 2023-06-09 12:25:04 +00:00
commit f48789f494
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ impl ClientCirc {
///
/// TODO HS: Fix the virtual-hop issue.
pub fn path(&self) -> Vec<OwnedChanTarget> {
#[allow(clippy::unnecessary_filter_map)] // clippy is blind to the cfg
self.path
.all_hops()
.into_iter()