Skip to content

Commit

Permalink
Merge pull request #9460 from Ismael-VC/patch-1
Browse files Browse the repository at this point in the history
Correcting a typo.
  • Loading branch information
StefanKarpinski committed Dec 25, 2014
2 parents 8a8e840 + 9a3c68f commit be2971e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual/strings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ contained in a string:
julia> contains("Xylophon", 'o')
ERROR: `contains` has no method matching contains(::ASCIIString, ::Char)

The last error is because ``'0'`` is a character literal, and :func:`contains`
The last error is because ``'o'`` is a character literal, and :func:`contains`
is a generic function that looks for subsequences. To look for an element in a
sequence, you must use the :func:`in` function instead.

Expand Down

0 comments on commit be2971e

Please sign in to comment.