From 27494508bf276602dadda9e126cdc427ccdda361 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 11 Mar 2019 21:35:21 -0700 Subject: [PATCH] Fix deprecation warning --- openssl-sys/build/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index a1f163d7..02b93b90 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -247,6 +247,7 @@ due to this version mismatch. } // parses a string that looks like "0x100020cfL" +#[allow(deprecated)] // trim_right_matches is now trim_end_matches fn parse_version(version: &str) -> u64 { // cut off the 0x prefix assert!(version.starts_with("0x"));