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();