1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00

Deploying to gh-pages from @ 25d3d34927 🚀

This commit is contained in:
robjtede 2022-02-03 22:47:54 +00:00
parent 7d95f19483
commit 01538a13fd
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ modifying session data.</p>
<span class="prelude-val">Ok</span>(<span class="string">&quot;Welcome!&quot;</span>)
}
<span class="attribute">#[<span class="ident">actix_rt::main</span>]</span>
<span class="attribute">#[<span class="ident">actix_web::main</span>]</span>
<span class="kw">async</span> <span class="kw">fn</span> <span class="ident">main</span>() -&gt; <span class="ident">std::io::Result</span><span class="op">&lt;</span>()<span class="op">&gt;</span> {
<span class="ident">HttpServer::new</span>(
<span class="op">|</span><span class="op">|</span> <span class="ident">App::new</span>()

View File

@ -411,7 +411,7 @@
<span class="doccomment">//! Ok(&quot;Welcome!&quot;)</span>
<span class="doccomment">//! }</span>
<span class="doccomment">//!</span>
<span class="doccomment">//! #[actix_rt::main]</span>
<span class="doccomment">//! #[actix_web::main]</span>
<span class="doccomment">//! async fn main() -&gt; std::io::Result&lt;()&gt; {</span>
<span class="doccomment">//! HttpServer::new(</span>
<span class="doccomment">//! || App::new()</span>