Skip to content

Commit

Permalink
Clippy fixes (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-dr authored Nov 17, 2024
2 parents 725fd4e + e9a2994 commit ce42a39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@

<div align="center">

![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/rm-dr/copper)
![GitHub Repo stars](https://img.shields.io/github/stars/rm-dr/copper)
![GitHub License](https://img.shields.io/github/license/rm-dr/copper)
![GitHub Repo stars](https://img.shields.io/github/stars/rm-dr/copper?style=flat)
![GitHub License](https://img.shields.io/github/license/rm-dr/copper?style=flat)
![Issues](https://img.shields.io/github/issues/rm-dr/copper?style=flat)
![Pull Requests](https://img.shields.io/github/issues-pr/rm-dr/copper)

![cargo test](https://img.shields.io/github/actions/workflow/status/rm-dr/copper/cargo-test.yml?label=cargo%20test)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/rm-dr/copper/lints.yml?label=lints&cacheSeconds=30)


**Copper** is the universal, automatic digital library.

Expand All @@ -24,7 +29,7 @@ Copper is the universal digital library, aiming to replace ad-hoc solutions like
It provides powerful data processing pipelines and universal item search, editing, and viewing

## 🚨 Warning 🚨
This project is still very incomplete, and is nowhere near ready for daily use. \
Copper is still very incomplete, and is nowhere near ready for daily use. \
This might change once the following projects are resolved:
- [Backend v1](https://github.com/rm-dr/copper/milestone/1)
- [Webui v1](https://github.com/rm-dr/copper/milestone/2)
Expand Down
6 changes: 3 additions & 3 deletions copperd/lib/itemdb/src/client/client/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ impl ItemdbClient {
)
.bind(i64::from(new_item))
.bind(i64::from(attr.id))
.bind(&value_ser)
.bind(&unique_hash)
.bind(value_ser)
.bind(unique_hash)
.execute(&mut *t)
.await;

Expand Down Expand Up @@ -310,7 +310,7 @@ impl ItemdbClient {
",
)
.bind(i64::from(attr.id))
.bind(&unique_hash)
.bind(unique_hash)
.fetch_all(&mut **trans)
.await
{
Expand Down

0 comments on commit ce42a39

Please sign in to comment.