Skip to content

Commit

Permalink
Remove trailing spaces from 'Int' and 'Float' descriptions (#1920)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 28, 2019
1 parent e1225a0 commit 5eecef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/type/scalars.js
Expand Up @@ -62,7 +62,7 @@ export const GraphQLInt = new GraphQLScalarType({
name: 'Int',
description:
'The `Int` scalar type represents non-fractional signed whole numeric ' +
'values. Int can represent values between -(2^31) and 2^31 - 1. ',
'values. Int can represent values between -(2^31) and 2^31 - 1.',
serialize: serializeInt,
parseValue: coerceInt,
parseLiteral(ast) {
Expand Down Expand Up @@ -107,7 +107,7 @@ export const GraphQLFloat = new GraphQLScalarType({
description:
'The `Float` scalar type represents signed double-precision fractional ' +
'values as specified by ' +
'[IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). ',
'[IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).',
serialize: serializeFloat,
parseValue: coerceFloat,
parseLiteral(ast) {
Expand Down

0 comments on commit 5eecef2

Please sign in to comment.