From 432289dd042d4f91af54dda9d9b2abaaae7d36be Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 3 Aug 2023 10:23:18 +0200 Subject: [PATCH] Replace :emoji: codes with the actual emoji (#2144) --- CONTRIBUTING.md | 2 +- axum-core/README.md | 2 +- axum-extra/README.md | 2 +- axum-macros/README.md | 2 +- axum-macros/tests/from_request/pass/state_enum_via.rs | 4 ++-- axum-macros/tests/from_request/pass/state_enum_via_parts.rs | 4 ++-- axum/README.md | 2 +- axum/src/docs/error_handling.md | 4 ++-- axum/src/handler/mod.rs | 4 ++-- axum/src/routing/method_routing.rs | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b1e4c68d..9fb4fc70 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to axum -:balloon: Thanks for your help improving the project! We are so happy to have +🎈 Thanks for your help improving the project! We are so happy to have you! There are opportunities to contribute to `axum` at any level. It doesn't diff --git a/axum-core/README.md b/axum-core/README.md index bd5efbeb..01ff4e51 100644 --- a/axum-core/README.md +++ b/axum-core/README.md @@ -23,7 +23,7 @@ with your question. ## Contributing -:balloon: Thanks for your help improving the project! We are so happy to have +🎈 Thanks for your help improving the project! We are so happy to have you! We have a [contributing guide][contributing] to help you get involved in the `axum` project. diff --git a/axum-extra/README.md b/axum-extra/README.md index d2c5646b..cef56898 100644 --- a/axum-extra/README.md +++ b/axum-extra/README.md @@ -23,7 +23,7 @@ with your question. ## Contributing -:balloon: Thanks for your help improving the project! We are so happy to have +🎈 Thanks for your help improving the project! We are so happy to have you! We have a [contributing guide][contributing] to help you get involved in the `axum` project. diff --git a/axum-macros/README.md b/axum-macros/README.md index 7fa1bd2d..e411e417 100644 --- a/axum-macros/README.md +++ b/axum-macros/README.md @@ -23,7 +23,7 @@ with your question. ## Contributing -:balloon: Thanks for your help improving the project! We are so happy to have +🎈 Thanks for your help improving the project! We are so happy to have you! We have a [contributing guide][contributing] to help you get involved in the `axum` project. diff --git a/axum-macros/tests/from_request/pass/state_enum_via.rs b/axum-macros/tests/from_request/pass/state_enum_via.rs index 632adb56..cf4ae789 100644 --- a/axum-macros/tests/from_request/pass/state_enum_via.rs +++ b/axum-macros/tests/from_request/pass/state_enum_via.rs @@ -1,5 +1,5 @@ use axum::{ - extract::{State, FromRef}, + extract::{FromRef, State}, routing::get, Router, }; @@ -30,6 +30,6 @@ enum InnerState {} impl FromRef for InnerState { fn from_ref(_: &AppState) -> Self { - todo!(":shrug:") + todo!("🤷") } } diff --git a/axum-macros/tests/from_request/pass/state_enum_via_parts.rs b/axum-macros/tests/from_request/pass/state_enum_via_parts.rs index 664ff3ab..04de8223 100644 --- a/axum-macros/tests/from_request/pass/state_enum_via_parts.rs +++ b/axum-macros/tests/from_request/pass/state_enum_via_parts.rs @@ -1,5 +1,5 @@ use axum::{ - extract::{State, FromRef}, + extract::{FromRef, State}, routing::get, Router, }; @@ -31,6 +31,6 @@ enum InnerState {} impl FromRef for InnerState { fn from_ref(_: &AppState) -> Self { - todo!(":shrug:") + todo!("🤷") } } diff --git a/axum/README.md b/axum/README.md index c01a1ca4..a97b734c 100644 --- a/axum/README.md +++ b/axum/README.md @@ -131,7 +131,7 @@ built with `axum`. ## Contributing -:balloon: Thanks for your help improving the project! We are so happy to have +🎈 Thanks for your help improving the project! We are so happy to have you! We have a [contributing guide][contributing] to help you get involved in the `axum` project. diff --git a/axum/src/docs/error_handling.md b/axum/src/docs/error_handling.md index 02f6f740..cff30693 100644 --- a/axum/src/docs/error_handling.md +++ b/axum/src/docs/error_handling.md @@ -45,8 +45,8 @@ in handlers. See those examples: * [`anyhow-error-response`][anyhow] for generic boxed errors * [`error-handling-and-dependency-injection`][ehdi] for application-specific detailed errors -[anyhow]:https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs -[ehdi]:https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs +[anyhow]: https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs +[ehdi]: https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs This also applies to extractors. If an extractor doesn't match the request the request will be rejected and a response will be returned without calling your diff --git a/axum/src/handler/mod.rs b/axum/src/handler/mod.rs index ea352b9a..5efa29ba 100644 --- a/axum/src/handler/mod.rs +++ b/axum/src/handler/mod.rs @@ -39,8 +39,8 @@ //! * [`anyhow-error-response`][anyhow] for generic boxed errors //! * [`error-handling-and-dependency-injection`][ehdi] for application-specific detailed errors //! -//! [anyhow]:https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs -//! [ehdi]:https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs +//! [anyhow]: https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs +//! [ehdi]: https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs //! #![doc = include_str!("../docs/debugging_handler_type_errors.md")] diff --git a/axum/src/routing/method_routing.rs b/axum/src/routing/method_routing.rs index e1545a00..98b71950 100644 --- a/axum/src/routing/method_routing.rs +++ b/axum/src/routing/method_routing.rs @@ -1346,7 +1346,7 @@ mod tests { async fn buiding_complex_router() { let app = crate::Router::new().route( "/", - // use the all the things :bomb: + // use the all the things 💣️ get(ok) .post(ok) .route_layer(ValidateRequestHeaderLayer::bearer("password"))