Skip to content

Commit

Permalink
fixed some typos (#29164)
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion authored and rfourquet committed Sep 14, 2018
1 parent 26b6a58 commit cda41ae
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ ErrorException
WrappedException(msg)
Generic type for `Exception`s wrapping another `Exception`, such as `LoadError` and
`InitError`. Those exceptions contain information about the the root cause of an
`InitError`. Those exceptions contain information about the root cause of an
exception. Subtypes define a field `error` containing the causing `Exception`.
"""
Core.WrappedException
Expand Down
2 changes: 1 addition & 1 deletion base/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ with_logger(f::Function, logger::AbstractLogger) = with_logstate(f, LogState(log
current_logger()
Return the logger for the current task, or the global logger if none is
is attached to the task.
attached to the task.
"""
current_logger() = current_logstate().logger

Expand Down
4 changes: 2 additions & 2 deletions doc/src/manual/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ julia> string.(1:3, ". ", ["First", "Second", "Third"])

## Implementation

The base array type in Julia is the abstract type [`AbstractArray{T,N}`](@ref). It is parametrized by
The base array type in Julia is the abstract type [`AbstractArray{T,N}`](@ref). It is parameterized by
the number of dimensions `N` and the element type `T`. [`AbstractVector`](@ref) and [`AbstractMatrix`](@ref) are
aliases for the 1-d and 2-d cases. Operations on `AbstractArray` objects are defined using higher
level operators and functions, in a way that is independent of the underlying storage. These operations
Expand Down Expand Up @@ -828,7 +828,7 @@ index of dimension `k` by `1` should increase the index `i` of [`getindex(A,i)`]
[`stride(A,k)`](@ref). If a pointer conversion method [`Base.unsafe_convert(Ptr{T}, A)`](@ref) is
provided, the memory layout must correspond in the same way to these strides. `DenseArray` is a
very specific example of a strided array where the elements are arranged contiguously, thus it
provides its subtypes with the approporiate definition of `strides`. More concrete examples
provides its subtypes with the appropriate definition of `strides`. More concrete examples
can be found within the [interface guide for strided arrays](@ref man-interface-strided-arrays).
[`StridedVector`](@ref) and [`StridedMatrix`](@ref) are convenient aliases for many of the builtin array types that
are considered strided arrays, allowing them to dispatch to select specialized implementations that
Expand Down
6 changes: 3 additions & 3 deletions doc/src/manual/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ As in the example above, we recommend following some simple conventions when wri
9. Respect the line length limit used in the surrounding code.

Docstrings are edited using the same tools as code. Therefore, the same conventions should apply.
It it advised to add line breaks after 92 characters.
It is advised to add line breaks after 92 characters.
6. Provide information allowing custom types to implement the function in an
`# Implementation` section. These implementation details intended for developers
rather than users, explaining e.g. which functions should be overridden and which functions
Expand Down Expand Up @@ -568,7 +568,7 @@ A paragraph containing a **bold** word.
Surround words with one asterisk, `*`, to display the enclosed text in italics.

```
A paragraph containing an *emphasised* word.
A paragraph containing an *emphasized* word.
```

#### Literals
Expand Down Expand Up @@ -665,7 +665,7 @@ in the [Inline elements](@ref) section above, with one or more blank lines above
```
This is a paragraph.
And this is *another* one containing some emphasised text.
And this is *another* one containing some emphasized text.
A new line, but still part of the same paragraph.
```

Expand Down
2 changes: 1 addition & 1 deletion stdlib/Dates/src/query.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ julia> Dates.dayofweekofmonth(Date("2000-02-08"))
julia> Dates.dayofweekofmonth(Date("2000-02-15"))
3
````
```
"""
function dayofweekofmonth(dt::TimeType)
d = day(dt)
Expand Down
4 changes: 2 additions & 2 deletions stdlib/LinearAlgebra/src/triangular.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ UpperTriangular(U::LowerTriangular) = throw(ArgumentError(
"""
LowerTriangular(A::AbstractMatrix)
Construct a `LowerTriangular` view of the the matrix `A`.
Construct a `LowerTriangular` view of the matrix `A`.
# Examples
```jldoctest
Expand All @@ -79,7 +79,7 @@ LowerTriangular
"""
UpperTriangular(A::AbstractMatrix)
Construct an `UpperTriangular` view of the the matrix `A`.
Construct an `UpperTriangular` view of the matrix `A`.
# Examples
```jldoctest
Expand Down
4 changes: 2 additions & 2 deletions stdlib/Pkg/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ identify the package in projects that depend on it.

**Application:** a project which provides standalone functionality not intended
to be reused by other Julia projects. For example a web application or a
commmand-line utility, or simulation/analytics code accompanying a scientific paper.
command-line utility, or simulation/analytics code accompanying a scientific paper.
An application may have a UUID but does not need one.
An application may also provide global configuration options for packages it
depends on. Packages, on the other hand, may not provide global configuration
Expand Down Expand Up @@ -427,7 +427,7 @@ Note the pin symbol `⚲` showing that the package is pinned. Removing the pin i

### Testing packages

The tests for a package can be run using `test`command:
The tests for a package can be run using `test` command:

```
(v1.0) pkg> test Example
Expand Down

0 comments on commit cda41ae

Please sign in to comment.