Skip to content

Commit 190bfc8

Browse files
committed
chore: little tweak
1 parent f7b7d5f commit 190bfc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ impl<T> PathTree<T> {
232232
}
233233

234234
/// Gets the route by id.
235-
#[inline]
236235
#[allow(clippy::must_use_candidate)]
236+
#[inline]
237237
pub fn get_route(&self, index: usize) -> Option<&(T, Vec<Piece>)> {
238238
self.routes.get(index)
239239
}

0 commit comments

Comments
 (0)