diff --git a/README.md b/README.md
index c97748c2f..3072ba1c0 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/actix-web.svg)
[![Dependency Status](https://deps.rs/crate/actix-web/4.0.0-beta.18/status.svg)](https://deps.rs/crate/actix-web/4.0.0-beta.18)
-[![build status](https://github.com/actix/actix-web/workflows/CI%20%28Linux%29/badge.svg?branch=master&event=push)](https://github.com/actix/actix-web/actions)
+[![CI](https://github.com/actix/actix-web/actions/workflows/ci.yml/badge.svg)](https://github.com/actix/actix-web/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/actix/actix-web/branch/master/graph/badge.svg)](https://codecov.io/gh/actix/actix-web)
![downloads](https://img.shields.io/crates/d/actix-web.svg)
[![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x)
diff --git a/src/request.rs b/src/request.rs
index 2580ed12c..cbec70a29 100644
--- a/src/request.rs
+++ b/src/request.rs
@@ -286,10 +286,10 @@ impl HttpRequest {
///
/// # Examples
/// ```no_run
- /// # use actix_web::{web, test::TestRequest};
+ /// # use actix_web::{test::TestRequest, web::Data};
/// # let req = TestRequest::default().to_http_request();
/// # type T = u32;
- /// let opt_t: Option<&T> = req.app_data::>();
+ /// let opt_t: Option<&Data> = req.app_data::>();
/// ```
///
/// [`Data`]: crate::web::Data