From abc7fd374b7c603a01033ed0a6dc2f20987bc9fb Mon Sep 17 00:00:00 2001 From: "Daniel T. Rodrigues" <45438149+danitrod@users.noreply.github.com> Date: Sun, 28 Feb 2021 18:41:07 -0300 Subject: [PATCH] update example links (#2036) Co-authored-by: Rob Ede --- actix-files/README.md | 2 +- awc/README.md | 3 ++- examples/on_connect.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/actix-files/README.md b/actix-files/README.md index 463f20224..a4f0445aa 100644 --- a/actix-files/README.md +++ b/actix-files/README.md @@ -14,6 +14,6 @@ ## Documentation & Resources - [API Documentation](https://docs.rs/actix-files/) -- [Example Project](https://github.com/actix/examples/tree/master/static_index) +- [Example Project](https://github.com/actix/examples/tree/master/basics/static_index) - [Chat on Gitter](https://gitter.im/actix/actix-web) - Minimum supported Rust version: 1.46 or later diff --git a/awc/README.md b/awc/README.md index 043ae6a41..1f6e3b8fb 100644 --- a/awc/README.md +++ b/awc/README.md @@ -11,11 +11,12 @@ ## Documentation & Resources - [API Documentation](https://docs.rs/awc) -- [Example Project](https://github.com/actix/examples/tree/HEAD/awc_https) +- [Example Project](https://github.com/actix/examples/tree/HEAD/security/awc_https) - [Chat on Gitter](https://gitter.im/actix/actix-web) - Minimum Supported Rust Version (MSRV): 1.46.0 ## Example + ```rust use actix_rt::System; use awc::Client; diff --git a/examples/on_connect.rs b/examples/on_connect.rs index ba5a18f3f..24ac86c6b 100644 --- a/examples/on_connect.rs +++ b/examples/on_connect.rs @@ -2,7 +2,7 @@ //! properties and pass them to a handler through request-local data. //! //! For an example of extracting a client TLS certificate, see: -//! +//! use std::{any::Any, io, net::SocketAddr};