# Test that text right after a :type: or :rtype: field isn't part of the type.
=== input
Short.

:param a: A.
:type a: int
About a.
:returns: x
:rtype: int
More text.
=== parse rest
short_description: 'Short.'
long_description: |
  About a.
  
  More text.
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'A.'
  kind: param
  key: 'param'
  arg_name: 'a'
  type_name: 'int'
  is_optional: False
- DocstringReturns
  description: 'x'
  kind: returns
  key: 'returns'
  type_name: 'int'
  is_generator: False
=== compose rest
Short.

About a.

More text.

:param int a: A.
:returns: x
:rtype: int
