mirror of
https://github.com/actix/actix-website
synced 2024-11-27 18:12:57 +01:00
Fix: unresolved import actix_web
Fixed error[E0432]: unresolved import `actix_web` adding extern crate actix_web
This commit is contained in:
parent
444f6a0eef
commit
a52fa2fd2a
@ -41,6 +41,7 @@ listenfd = "0.3"
|
|||||||
Then modify your server code to only invoke `bind` as a fallback:
|
Then modify your server code to only invoke `bind` as a fallback:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
extern crate actix_web;
|
||||||
extern crate listenfd;
|
extern crate listenfd;
|
||||||
|
|
||||||
use listenfd::ListenFd;
|
use listenfd::ListenFd;
|
||||||
|
Loading…
Reference in New Issue
Block a user