Skip to content

Commit

Permalink
Adds a must_use [fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Jun 2, 2024
1 parent 632a989 commit 7b7059a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ impl<'a> Default for Node<'a> {
///
/// If a Record does not have at least one path part, or
/// if a combined path regex turns out ot be malformed.
#[must_use]
pub fn create<'a>(std_raw: &'a format::DirStd) -> (RNode, Vec<RNode>) {
let mut pp_recs: Vec<(Vec<String>, &'a format::Rec<'static>)> = std_raw
.records
Expand Down

0 comments on commit 7b7059a

Please sign in to comment.