Make some comments clearer. (#665)
This commit is contained in:
parent
2cb96d0fc4
commit
31d08888e4
1 changed files with 2 additions and 2 deletions
|
@ -261,7 +261,7 @@ where
|
|||
}
|
||||
|
||||
fn from_str<'a>(value: ScalarToken<'a>) -> ParseScalarResult<'a, S> {
|
||||
// Bools are parsed on it's own. This should not hit this code path
|
||||
// Bools are parsed separately - they shouldn't reach this code path
|
||||
Err(ParseError::UnexpectedToken(Token::Scalar(value)))
|
||||
}
|
||||
}
|
||||
|
@ -338,7 +338,7 @@ impl<T> EmptyMutation<T> {
|
|||
}
|
||||
}
|
||||
|
||||
// This is safe due to never using `T`.
|
||||
// This is safe because `T` is never used.
|
||||
unsafe impl<T> Send for EmptyMutation<T> {}
|
||||
|
||||
impl<S, T> GraphQLType<S> for EmptyMutation<T>
|
||||
|
|
Loading…
Reference in a new issue