diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-07 18:17:10 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-10-07 19:23:50 +0200 |
| commit | eb6c346137f95c584ee0d967d9b34734bb331bf8 (patch) | |
| tree | 89e7e5c793983e8afc87f506f5421035242f5063 | |
| parent | 9f7a09021d6e9604070957db7767862ebdfd4641 (diff) | |
| download | rust-eb6c346137f95c584ee0d967d9b34734bb331bf8.tar.gz rust-eb6c346137f95c584ee0d967d9b34734bb331bf8.zip | |
rustc_tools_util: bump version
| -rw-r--r-- | rustc_tools_util/Cargo.toml | 2 | ||||
| -rw-r--r-- | rustc_tools_util/src/lib.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/rustc_tools_util/Cargo.toml b/rustc_tools_util/Cargo.toml index 37b592da132..b63632916ba 100644 --- a/rustc_tools_util/Cargo.toml +++ b/rustc_tools_util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_tools_util" -version = "0.3.0" +version = "0.4.0" description = "small helper to generate version information for git packages" repository = "https://github.com/rust-lang/rust-clippy" readme = "README.md" diff --git a/rustc_tools_util/src/lib.rs b/rustc_tools_util/src/lib.rs index 60f90ffbb5c..16be02f4a40 100644 --- a/rustc_tools_util/src/lib.rs +++ b/rustc_tools_util/src/lib.rs @@ -178,7 +178,7 @@ mod test { fn test_struct_local() { let vi = get_version_info!(); assert_eq!(vi.major, 0); - assert_eq!(vi.minor, 3); + assert_eq!(vi.minor, 4); assert_eq!(vi.patch, 0); assert_eq!(vi.crate_name, "rustc_tools_util"); // hard to make positive tests for these since they will always change @@ -189,7 +189,7 @@ mod test { #[test] fn test_display_local() { let vi = get_version_info!(); - assert_eq!(vi.to_string(), "rustc_tools_util 0.3.0"); + assert_eq!(vi.to_string(), "rustc_tools_util 0.4.0"); } #[test] @@ -198,7 +198,7 @@ mod test { let s = format!("{vi:?}"); assert_eq!( s, - "VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 3, patch: 0 }" + "VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 4, patch: 0 }" ); } } |
