Skip to content

Commit a63b1fa

Browse files
committed
do not use mutable self
1 parent 0a0f80d commit a63b1fa

File tree

1 file changed

+1
-1
lines changed
  • crates/oxide/src/scanner

1 file changed

+1
-1
lines changed

crates/oxide/src/scanner/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ impl Scanner {
321321
}
322322

323323
#[tracing::instrument(skip_all)]
324-
pub fn get_normalized_sources(&mut self) -> Vec<GlobEntry> {
324+
pub fn get_normalized_sources(&self) -> Vec<GlobEntry> {
325325
self.sources
326326
.iter()
327327
.filter_map(|source| match source {

0 commit comments

Comments
 (0)