Patchwork D1846: rust: avoid redundant 'static lifetime

login
register
mail settings
Submitter phabricator
Date Jan. 11, 2018, 6:21 p.m.
Message ID <9c2fed8db5d94a6b06a06246074e57ff@localhost.localdomain>
Download mbox | patch
Permalink /patch/26691/
State Not Applicable
Headers show

Comments

phabricator - Jan. 11, 2018, 6:21 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG24b5106e3e1e: rust: avoid redundant &#039;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




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

Patch

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();