Update define_interface.md

This commit is contained in:
Wade, Han 2021-08-09 23:43:26 +08:00 committed by GitHub
parent 9a76ea9896
commit 9b0343dd5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,5 +105,5 @@ You need to manually register the `MyInterface` type when constructing the `Sche
```rust
Schema::build(Query, EmptyMutation, EmptySubscription)
.register_type::<MyInterface>()
.build();
.finish();
```