rust: avoid redundant 'static lifetime
'static is apparently automatic for const variables.
Differential Revision: https://phab.mercurial-scm.org/D1846
--- a/rust/hgcli/build.rs Thu Jan 11 11:57:59 2018 +0000
+++ b/rust/hgcli/build.rs Wed Jan 10 19:24:58 2018 -0800
@@ -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();