Skip to content

Commit 4467b29

Browse files
authored
Add missing use declaration in Quickstart (#838)
Seems like the example code in the quickstart guide is missing an use declaration. The code fails to compile: `error: cannot find macro `graphql_value` in this scope` with `rustc 1.48.0 (7eac88abb 2020-11-16)`
1 parent 509438a commit 4467b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/content/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ You can invoke `juniper::execute` directly to run a GraphQL query:
152152
# #[macro_use] extern crate juniper;
153153
use juniper::{
154154
graphql_object, EmptyMutation, EmptySubscription, FieldResult,
155-
GraphQLEnum, Variables,
155+
GraphQLEnum, Variables, graphql_value,
156156
};
157157

158158
#[derive(GraphQLEnum, Clone, Copy)]

0 commit comments

Comments
 (0)