From a4e40d186d6be3572134d76ca5a09e83dac40fe2 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Fri, 26 Jan 2024 03:11:40 +0000 Subject: [PATCH] docs: add codecov badge --- actix-web-lab/README.md | 1 + actix-web-lab/src/thin_data.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/actix-web-lab/README.md b/actix-web-lab/README.md index 13308628..0b5c6205 100644 --- a/actix-web-lab/README.md +++ b/actix-web-lab/README.md @@ -11,6 +11,7 @@ [![dependency status](https://deps.rs/crate/actix-web-lab/0.20.2/status.svg)](https://deps.rs/crate/actix-web-lab/0.20.2) [![Download](https://img.shields.io/crates/d/actix-web-lab.svg)](https://crates.io/crates/actix-web-lab) [![CircleCI](https://circleci.com/gh/robjtede/actix-web-lab/tree/main.svg?style=shield)](https://circleci.com/gh/robjtede/actix-web-lab/tree/main) +[![codecov](https://codecov.io/gh/robjtede/actix-web-lab/branch/main/graph/badge.svg)](https://codecov.io/gh/robjtede/actix-web-lab) diff --git a/actix-web-lab/src/thin_data.rs b/actix-web-lab/src/thin_data.rs index 1d839ae0..6e3eb9d7 100644 --- a/actix-web-lab/src/thin_data.rs +++ b/actix-web-lab/src/thin_data.rs @@ -38,7 +38,7 @@ use tracing::log; /// .service(web::resource("/").get(index)) /// # ; /// ``` -#[derive(AsRef, AsMut, Deref, DerefMut, Clone, Debug)] +#[derive(Debug, Clone, AsRef, AsMut, Deref, DerefMut)] pub struct ThinData(pub T); impl FromRequest for ThinData {