diff --git a/doc/manual/style-guide.rst b/doc/manual/style-guide.rst index 8d136ed108d24..05cc0780d8917 100644 --- a/doc/manual/style-guide.rst +++ b/doc/manual/style-guide.rst @@ -32,7 +32,7 @@ is passed that does not support any of the requisite operations. (This is known as `duck typing `_.) For example, consider the following definitions of a function -``addone`` that returns one plus its argument: +``addone`` that returns one plus its argument:: addone(x::Int) = x + 1 # works only for Int addone(x::Integer) = x + one(x) # any integer type