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
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							1d00bb29d4
						
					
				
				
					commit
					0d3cbe28fc
				
			| @@ -120,7 +120,7 @@ where | ||||
| /// ```rust,no_run | ||||
| /// # #![feature(async_await)] | ||||
| /// # #[cfg(feature = "runtime")] | ||||
| /// # #[hyper::rt::main] | ||||
| /// # #[tokio::main] | ||||
| /// # async fn main() { | ||||
| /// use std::net::TcpStream; | ||||
| /// use hyper::{Body, Error, Request, Response, Server}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user