File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
docs/platforms/rust/guides/axum Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ fn main() -> io::Result<()> {
6767
6868 let app = Router :: new (). route (" /" , get (failing )). layer (
6969 ServiceBuilder :: new ()
70- // If you're binding the layers directly on the `Router`, bind them in the opposite order, otherwise you might run into a memory leak
7170 . layer (NewSentryLayer :: <Request <Body >>:: new_from_top ()) // Bind a new Hub per request, to ensure correct error <> request correlation
7271 # ___PRODUCT_OPTION_START___ performance
7372 . layer (SentryHttpLayer :: new (). enable_transaction ()), // Start a transaction (Sentry root span) for each request
73+ // If you're binding the layers directly on the `Router`, bind them in the opposite order, otherwise you might run into a memory leak
7474 # ___PRODUCT_OPTION_END___ performance
7575 );
7676
You can’t perform that action at this time.
0 commit comments