Skip to content

Commit

Permalink
Fix ReST formatting errors in docs
Browse files Browse the repository at this point in the history
Introduced by recent updates to the documentation.

Ref: 7ae6f16 809cc82 f96e33b
  • Loading branch information
jiahao committed Apr 26, 2015
1 parent dafc826 commit d39b475
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/manual/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ innermost array being indexed.

Alternatively, single elements of a multidimensional array can be indexed as
::

x = A[I]

where ``I`` is a ``CartesianIndex``, effectively an ``n``-tuple of integers.
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ function itself. The salient aspects of a function's arguments are their
order and their types. Therefore a tuple type is similar to a
parameterized immutable type where each parameter is the type
of one field. For example, a 2-element tuple type resembles the following
immutable type:
immutable type::

immutable Tuple2{A,B}
a::A
Expand Down
2 changes: 1 addition & 1 deletion doc/stdlib/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Basic functions

An abstract array subtype ``MyArray`` that wishes to opt into fast linear indexing behaviors should define ``linearindexing`` in the type-domain::

Base.linearindexing{T<:MyArray}(::Type{T}) = Base.LinearFast()
Base.linearindexing{T<:MyArray}(::Type{T}) = Base.LinearFast()

.. function:: countnz(A)

Expand Down

0 comments on commit d39b475

Please sign in to comment.