Skip to content

Commit 91c7e63

Browse files
committed
Fixed clippy
1 parent 4f8600e commit 91c7e63

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "ckc-rs"
3-
version = "0.1.14"
43
description = "Poker hand evaluation library"
4+
version = "0.1.14"
55
authors = ["electronicpanopticon <[email protected]>"]
6-
edition = "2021"
7-
license = "Apache-2.0"
86
repository = "https://github.com/ImperialBower/ckc-rs.git"
97
homepage = "https://github.com/ImperialBower/ckc-rs"
8+
edition = "2021"
9+
rust-version = "1.63"
10+
license = "Apache-2.0"
1011
exclude = [".github/workflows/*", ".gitignore", "Cargo.lock"]
1112

1213
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -18,4 +19,4 @@ strum = { version = "0.24", features = ["derive"] }
1819

1920
[dev-dependencies]
2021
cardpack = "0.4.13"
21-
rstest = "0.12.0"
22+
rstest = "0.16.0"

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# ckc-rs
22

3-
![Build Status](https://github.com/ImperialBower/ckc-rs/actions/workflows/basic.yaml/badge.svg)
4-
[![Crates.io Version](https://img.shields.io/crates/v/ckc-rs.svg)](https://crates.io/crates/ckc-rs)
5-
6-
73
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE)
84
[![Build and Test](https://github.com/ImperialBower/ckc-rs/actions/workflows/CI.yaml/badge.svg)](https://github.com/ImperialBower/ckc-rs/actions/workflows/CI.yaml)
95
[![Crates.io Version](https://img.shields.io/crates/v/ckc-rs.svg)](https://crates.io/crates/ckc-rs)

src/hand_rank.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ impl Default for HandRank {
379379

380380
impl fmt::Display for HandRank {
381381
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
382-
write!(f, "{:?}", self)
382+
write!(f, "{self:?}")
383383
}
384384
}
385385

0 commit comments

Comments
 (0)