fix clippy warning

This commit is contained in:
gengteng
2023-07-22 13:36:04 +08:00
parent 0adb29d3ea
commit 655eaa8519
3 changed files with 12 additions and 7 deletions

View File

@@ -1,5 +1,10 @@
# axum-valid
![LICENSE](https://img.shields.io/badge/license-MIT-blue)
[![dependency status](https://deps.rs/repo/github/gengteng/axum-valid/status.svg)](https://deps.rs/repo/github/gengteng/axum-valid)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/gengteng/axum-valid/.github/workflows/main.yml?branch=main)](https://github.com/gengteng/axum-valid/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/gengteng/axum-valid/badge.svg?branch=main)](https://coveralls.io/github/gengteng/axum-valid?branch=main)
This crate provides a `Valid` type that can be used in combination with `Json`, `Path`, `Query`, and `Form` types to validate the entities that implement the `Validate` trait.
## Usage