mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 23:06:23 +00:00
Merge pull request #20895 from adregan/master
Updates fixed-size suffix in 30 minute introduction Reviewed-by: steveklabnik
This commit is contained in:
commit
50b0f5c550
@ -106,9 +106,9 @@ use semver::Version;
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
assert!(Version::parse("1.2.3") == Ok(Version {
|
assert!(Version::parse("1.2.3") == Ok(Version {
|
||||||
major: 1u,
|
major: 1u64,
|
||||||
minor: 2u,
|
minor: 2u64,
|
||||||
patch: 3u,
|
patch: 3u64,
|
||||||
pre: vec!(),
|
pre: vec!(),
|
||||||
build: vec!(),
|
build: vec!(),
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user