mirror of
https://github.com/actix/actix-extras.git
synced 2025-08-31 19:37:00 +02:00
Deploying to gh-pages from @ ee71d4cfa7
🚀
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
<span class="doccomment">//! ```toml</span>
|
||||
<span class="doccomment">//! [dependencies]</span>
|
||||
<span class="doccomment">//! actix-web = "4"</span>
|
||||
<span class="doccomment">//! actix-limitation = "0.1.4"</span>
|
||||
<span class="attribute">#![<span class="ident">doc</span> <span class="op">=</span> <span class="macro">concat!</span>(<span class="string">"actix-limitation = \""</span>, <span class="macro">env!</span>(<span class="string">"CARGO_PKG_VERSION_MAJOR"</span>), <span class="string">"."</span>, <span class="macro">env!</span>(<span class="string">"CARGO_PKG_VERSION_MINOR"</span>),<span class="string">"\""</span>)]</span>
|
||||
<span class="doccomment">//! ```</span>
|
||||
<span class="doccomment">//!</span>
|
||||
<span class="doccomment">//! ```no_run</span>
|
||||
@@ -201,7 +201,7 @@
|
||||
<span class="doccomment">//! .app_data(limiter.clone())</span>
|
||||
<span class="doccomment">//! .service(index)</span>
|
||||
<span class="doccomment">//! })</span>
|
||||
<span class="doccomment">//! .bind("127.0.0.1:8080")?</span>
|
||||
<span class="doccomment">//! .bind(("127.0.0.1", 8080))?</span>
|
||||
<span class="doccomment">//! .run()</span>
|
||||
<span class="doccomment">//! .await</span>
|
||||
<span class="doccomment">//! }</span>
|
||||
|
Reference in New Issue
Block a user