Skip to content

Commit 00cb0f3

Browse files
committed
fix doc fmt
1 parent dc2118c commit 00cb0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,12 @@ impl<State: Send + Sync + 'static> Server<State> {
304304
/// #
305305
/// use tide::http::{Url, Method, Request, Response};
306306
///
307-
/// // Initialize the application with state.
308307
/// let mut app = tide::new();
309308
/// app.at("/").get(|_| async move { Ok("hello world") });
310309
///
311310
/// let req = Request::new(Method::Get, Url::parse("https://example.com")?);
312311
/// let res: Response = app.respond(req).await?;
312+
///
313313
/// assert_eq!(res.status(), 200);
314314
/// #
315315
/// # Ok(()) }

0 commit comments

Comments
 (0)