From f367105c724e30ca8b5e26b94046048d2064d015 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Fri, 7 Jun 2024 21:26:25 +0100 Subject: [PATCH] chore: move imports back inside (?) --- actix-web-codegen/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/actix-web-codegen/src/lib.rs b/actix-web-codegen/src/lib.rs index 23a9ae89b..0726b02bd 100644 --- a/actix-web-codegen/src/lib.rs +++ b/actix-web-codegen/src/lib.rs @@ -204,15 +204,16 @@ method_macro!(Patch, patch); /// /// ## Attributes: /// -/// - `"path"` - Raw literal string with path for which to register handler. Mandatory. +/// - `"/prefix"` - Raw literal string with path for which to register handler. Mandatory. /// /// # Example /// /// ``` /// # use actix_web_codegen::scope; -/// # use actix_web::{get, HttpResponse, Responder}; /// #[scope("/test")] /// mod scope_module { +/// # use actix_web_codegen::get; +/// # use actix_web::{HttpResponse, Responder}; /// #[get("/test")] /// pub async fn test() -> impl Responder { /// // this has path /test/test