D1846: rust: avoid redundant 'static lifetime

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Thu Jan 11 13:21:19 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG24b5106e3e1e: rust: avoid redundant 'static lifetime (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1846?vs=4790&id=4798

REVISION DETAIL
  https://phab.mercurial-scm.org/D1846

AFFECTED FILES
  rust/hgcli/build.rs

CHANGE DETAILS

diff --git a/rust/hgcli/build.rs b/rust/hgcli/build.rs
--- a/rust/hgcli/build.rs
+++ b/rust/hgcli/build.rs
@@ -84,7 +84,7 @@
     return dll.exists();
 }
 
-const REQUIRED_CONFIG_FLAGS: [&'static str; 2] = ["Py_USING_UNICODE", "WITH_THREAD"];
+const REQUIRED_CONFIG_FLAGS: [&str; 2] = ["Py_USING_UNICODE", "WITH_THREAD"];
 
 fn main() {
     let config = get_python_config();



To: indygreg, #hg-reviewers, durin42
Cc: durin42, yuja, mercurial-devel


More information about the Mercurial-devel mailing list