Skip to content

Commit

Permalink
Consume GlobState on call to with_wildcard_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Oct 1, 2023
1 parent 6841af9 commit 6d3e038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daft-io/src/glob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ impl GlobState {
}
}

pub fn with_wildcard_mode(&self) -> Self {
pub fn with_wildcard_mode(self) -> Self {
GlobState {
wildcard_mode: true,
..self.clone()
..self
}
}
}
Expand Down

0 comments on commit 6d3e038

Please sign in to comment.