mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 23:30:29 +01:00
10 lines
137 B
Rust
10 lines
137 B
Rust
|
use axum_debug::debug_handler;
|
||
|
|
||
|
#[debug_handler]
|
||
|
async fn handler(mut foo: String) -> String {
|
||
|
foo += "bar";
|
||
|
foo
|
||
|
}
|
||
|
|
||
|
fn main() {}
|