[Updated] D8538: rust: fix warning about unnecessary mut
valentin.gatienbaron (Valentin Gatien-Baron)
phabricator at mercurial-scm.org
Sun May 17 21:18:30 UTC 2020
Closed by commit rHG73d6ce2746d2: rust: fix warning about unnecessary mut (authored by valentin.gatienbaron).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8538?vs=21402&id=21409
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8538/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8538
AFFECTED FILES
rust/hg-core/src/dirstate/status.rs
CHANGE DETAILS
diff --git a/rust/hg-core/src/dirstate/status.rs b/rust/hg-core/src/dirstate/status.rs
--- a/rust/hg-core/src/dirstate/status.rs
+++ b/rust/hg-core/src/dirstate/status.rs
@@ -847,7 +847,7 @@
Vec<PatternFileWarning>,
)> {
// Needs to outlive `dir_ignore_fn` since it's captured.
- let mut ignore_fn: IgnoreFnType;
+ let ignore_fn: IgnoreFnType;
// Only involve real ignore mechanism if we're listing unknowns or ignored.
let (dir_ignore_fn, warnings): (IgnoreFnType, _) = if options.list_ignored
To: valentin.gatienbaron, #hg-reviewers, Alphare, pulkit
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200517/445e554a/attachment-0002.html>
More information about the Mercurial-patches
mailing list