From d155787317425e8ab897beef55a947e8ef28f9d8 Mon Sep 17 00:00:00 2001 From: konstin Date: Tue, 5 Nov 2024 08:16:38 +0100 Subject: [PATCH] Link to docs.rs in readme --- Readme.md | 2 +- src/marker/tree.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 0f53d49..48eb3d6 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,7 @@ # Dependency specifiers (PEP 508) in Rust [![Crates.io](https://img.shields.io/crates/v/pep508_rs.svg?logo=rust&style=flat-square)](https://crates.io/crates/pep508_rs) -[![PyPI](https://img.shields.io/pypi/v/pep508_rs.svg?logo=python&style=flat-square)](https://pypi.org/project/pep508_rs) +[![docs.rs](https://img.shields.io/docsrs/pep508_rs?style=flat-square)](https://docs.rs/pep508_rs) A library for python [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/), better known as [PEP 508](https://peps.python.org/pep-0508/). diff --git a/src/marker/tree.rs b/src/marker/tree.rs index 9cdf9d0..dc2b4ac 100644 --- a/src/marker/tree.rs +++ b/src/marker/tree.rs @@ -1994,7 +1994,7 @@ mod test { if lines == expected { Ok(()) } else { - Err(format!("{:?}", lines)) + Err(format!("{lines:?}")) } }); }