]> git.lizzy.rs Git - rust.git/commitdiff
fix a stray semicolon
authorAndre Bogus <bogusandre@gmail.com>
Thu, 29 Jun 2017 21:38:13 +0000 (23:38 +0200)
committerAndre Bogus <bogusandre@gmail.com>
Thu, 29 Jun 2017 21:38:13 +0000 (23:38 +0200)
src/tools/compiletest/src/header.rs

index c9e24492207d7d40e99c7f25f57c8de85d186298..5ac60d8f2c857ec3e99de869726b0a6ee874388b 100644 (file)
@@ -549,7 +549,7 @@ pub fn parse_name_value_directive(&self, line: &str, directive: &str) -> Option<
 pub fn lldb_version_to_int(version_string: &str) -> isize {
     let error_string = format!("Encountered LLDB version string with unexpected format: {}",
                                version_string);
-    version_string.parse().expect(&error_string);
+    version_string.parse().expect(&error_string)
 }
 
 fn expand_variables(mut value: String, config: &Config) -> String {