Skip to content

Commit a852710

Browse files
committed
fix: clippy
1 parent 9b6d96b commit a852710

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ pub struct Path<'a, 'b> {
271271

272272
impl<'a, 'b> Path<'a, 'b> {
273273
/// Gets current path pattern.
274+
///
275+
/// # Panics
276+
///
277+
/// Will panic if bytes to string conversion fails.
274278
pub fn pattern(&self) -> String {
275279
let mut bytes = Vec::new();
276280

0 commit comments

Comments
 (0)