Fix the problem that rocket example cannot pass the test.

This commit is contained in:
Sunli 2020-09-05 08:38:00 +08:00
parent bf7f9656e9
commit 35899d2b38
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ version = "1.17.21"
authors = ["Daniel Wiesenberg <daniel@simplificAR.io>"]
edition = "2018"
description = "async-graphql for Rocket.rs"
publish = true
#publish = true
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/async-graphql/"
homepage = "https://github.com/async-graphql/async-graphql"

View File

@ -29,7 +29,7 @@ use yansi::Paint;
///
/// ```rust,no_run
///
/// use async_graphql::{EmptyMutation, EmptySubscription, Schema};
/// use async_graphql::{EmptyMutation, EmptySubscription, Schema, Object};
/// use async_graphql_rocket::{GQLRequest, GraphQL, GQLResponse};
/// use rocket::{response::content, routes, State, http::Status};
///