docs: Remove tokio from examples

This commit is contained in:
Dylan Anthony 2022-09-23 11:15:22 -06:00
parent d9c4399a1f
commit b0c14df9d2
No known key found for this signature in database
GPG Key ID: F14E2067C8BF5030
1 changed files with 1 additions and 3 deletions

View File

@ -10,10 +10,8 @@ Apollo Federation is a GraphQL architecture for combining multiple GraphQL servi
```rust
# extern crate async_graphql;
# extern crate tokio;
# use async_graphql::*;
#[tokio::main]
async fn main() {
fn main() {
let schema = Schema::build(EmptyQuery, EmptyMutation, EmptySubscription)
.enable_federation()
.finish();