From ffa25cecf5ab3bbc161a2739b940d5e204d7ff7e Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Fri, 23 Sep 2022 11:15:22 -0600 Subject: [PATCH] docs: Remove tokio from examples --- docs/en/src/apollo_federation.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/en/src/apollo_federation.md b/docs/en/src/apollo_federation.md index 78ed2d95..8f655d6b 100644 --- a/docs/en/src/apollo_federation.md +++ b/docs/en/src/apollo_federation.md @@ -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();