Searched refs:pieces (Results 1 – 1 of 1) sorted by relevance
223 let mut pieces = version.split('.'); in rustc_minor_nightly() localVariable226 pieces.next(), in rustc_minor_nightly()231 let minor = pieces.next(); in rustc_minor_nightly()238 let nightly_raw = otry!(pieces.next()).split('-').nth(1); in rustc_minor_nightly()282 let mut pieces = version.trim().split(['.', '-']); in emcc_version_code() localVariable284 let major = pieces.next().and_then(|x| x.parse().ok()).unwrap_or(0); in emcc_version_code()285 let minor = pieces.next().and_then(|x| x.parse().ok()).unwrap_or(0); in emcc_version_code()286 let patch = pieces.next().and_then(|x| x.parse().ok()).unwrap_or(0); in emcc_version_code()