From bccc26a4a830d0a91b27ae5a1bddb36a156bb5a0 Mon Sep 17 00:00:00 2001 From: Alex Kladov Date: Thu, 15 Jun 2023 11:39:31 +0100 Subject: [PATCH 1/2] urlize --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a82b031..e0eff7c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -118,7 +118,7 @@ //! ``` //! //! See -//! https://blog.janestreet.com/using-ascii-waveforms-to-test-hardware-designs/ +//! //! for a cool example of snapshot testing in the wild! //! //! # Alternatives From 77dcda32c8c98e075ae6b8d2f0a2ca20b9668f36 Mon Sep 17 00:00:00 2001 From: Alex Kladov Date: Thu, 15 Jun 2023 12:55:32 +0100 Subject: [PATCH 2/2] bump msrv We don't use Cargo.lock.msrv, so recent once-cell bump borked us. --- Cargo.toml | 1 + src/lib.rs | 2 +- xtask/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 37b414b..9dd89a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/rust-analyzer/expect-test" authors = ["rust-analyzer developers"] edition = "2018" +rust-version = "1.60.0" exclude = ["./github", "bors.toml", "rustfmt.toml"] diff --git a/src/lib.rs b/src/lib.rs index e0eff7c..c0c6dbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -135,7 +135,7 @@ //! //! ## Minimal Supported Rust Version //! -//! This crate's minimum supported `rustc` version is `1.45.0`. MSRV is updated +//! This crate's minimum supported `rustc` version is `1.60.0`. MSRV is updated //! conservatively, supporting roughly 10 minor versions of `rustc`. MSRV bump //! is not considered semver breaking, but will require at least minor version //! bump. diff --git a/xtask/src/main.rs b/xtask/src/main.rs index e5e5c0e..55c368e 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -2,7 +2,7 @@ use std::env; use xaction::{cargo_toml, cmd, git, push_rustup_toolchain, section, Result}; -const MSRV: &str = "1.56.0"; +const MSRV: &str = "1.60.0"; fn main() { if let Err(err) = try_main() {