[Windows] Rm "-stable" part from rustfmt version (#7847)

This commit is contained in:
Erik Bershel
2023-07-04 14:09:29 +02:00
committed by GitHub
parent 9f98ea4461
commit a0745542ad

View File

@@ -42,7 +42,7 @@ function Get-RustdocVersion {
} }
function Get-RustfmtVersion { function Get-RustfmtVersion {
rustfmt --version | Take-Part -Part 1 rustfmt --version | Take-Part -Part 1 | Take-Part -Part 0 -Delimiter ('-')
} }
function Get-RustClippyVersion { function Get-RustClippyVersion {