mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-25 00:28:07 +01:00
Replace :emoji: codes with the actual emoji (#2144)
This commit is contained in:
parent
8af38763a5
commit
432289dd04
10 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use axum::{
|
||||
extract::{State, FromRef},
|
||||
extract::{FromRef, State},
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
|
@ -30,6 +30,6 @@ enum InnerState {}
|
|||
|
||||
impl FromRef<AppState> for InnerState {
|
||||
fn from_ref(_: &AppState) -> Self {
|
||||
todo!(":shrug:")
|
||||
todo!("🤷")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use axum::{
|
||||
extract::{State, FromRef},
|
||||
extract::{FromRef, State},
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
|
@ -31,6 +31,6 @@ enum InnerState {}
|
|||
|
||||
impl FromRef<AppState> for InnerState {
|
||||
fn from_ref(_: &AppState) -> Self {
|
||||
todo!(":shrug:")
|
||||
todo!("🤷")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")]
|
||||
|
||||
|
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue