refactor(rt): remove re-export of tokio::main (#1879)
Closes #1878. BREAKING CHANGE: Replace all usage of `rt::main` with `tokio::main`.
This commit is contained in:
committed by
Sean McArthur
parent
1d00bb29d4
commit
0d3cbe28fc
@@ -11,7 +11,7 @@ static INDEX: &str = "examples/send_file_index.html";
|
||||
static INTERNAL_SERVER_ERROR: &[u8] = b"Internal Server Error";
|
||||
static NOTFOUND: &[u8] = b"Not Found";
|
||||
|
||||
#[hyper::rt::main]
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
pretty_env_logger::init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user