Skip to content

Commit 79ec4a2

Browse files
authored
Merge pull request #1006 from jtgeibel/fix-mut-lint-on-nightly
Make `entries` binding immutable for &mut type
2 parents 2bf0ce2 + bb10923 commit 79ec4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/render-readmes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ fn get_readme(config: &Config, version: &EncodableVersion) -> Option<String> {
212212

213213
/// Search an entry by its path in a Tar archive.
214214
fn find_file_by_path<R: Read>(
215-
mut entries: &mut tar::Entries<R>,
215+
entries: &mut tar::Entries<R>,
216216
path: &Path,
217217
version: &EncodableVersion,
218218
) -> String {

0 commit comments

Comments
 (0)