mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
fixed formatting
This commit is contained in:
@@ -271,9 +271,9 @@ fn check_for_sufficient_glibcxx_versions(contents: Vec<u8>) -> Result<bool, Stri
|
|||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn extract_ldd_version(output: &[u8]) -> Option<SimpleSemver> {
|
fn extract_ldd_version(output: &[u8]) -> Option<SimpleSemver> {
|
||||||
LDD_VERSION_RE.captures(output).map(|m| SimpleSemver {
|
LDD_VERSION_RE.captures(output).map(|m| SimpleSemver {
|
||||||
major: m.get(1).map_or(0, |s| u32_from_bytes(s.as_bytes())),
|
major: m.get(1).map_or(0, |s| u32_from_bytes(s.as_bytes())),
|
||||||
minor: m.get(2).map_or(0, |s| u32_from_bytes(s.as_bytes())),
|
minor: m.get(2).map_or(0, |s| u32_from_bytes(s.as_bytes())),
|
||||||
patch: 0,
|
patch: 0,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user