Skip to content

Commit 0289e8a

Browse files
committed
Make the ClientError enum non-exhaustive
1 parent 0eb9835 commit 0289e8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphql_client_web/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ pub struct Client {
3333
///
3434
/// not exhaustive
3535
#[derive(Debug, Fail)]
36+
#[non_exhaustive]
3637
pub enum ClientError {
3738
/// The body couldn't be built
3839
#[fail(display = "Request body is not a valid string")]

0 commit comments

Comments
 (0)