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:?}")) } }); }