diff --git a/base/docs/basedocs.jl b/base/docs/basedocs.jl index 4c12bf68d80b5a..f1cf823457985d 100644 --- a/base/docs/basedocs.jl +++ b/base/docs/basedocs.jl @@ -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 diff --git a/base/logging.jl b/base/logging.jl index c3570469a90fbb..9034460a4dfe22 100644 --- a/base/logging.jl +++ b/base/logging.jl @@ -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 diff --git a/doc/src/manual/arrays.md b/doc/src/manual/arrays.md index 4b4c4be24a7ac7..d209686d1532c4 100644 --- a/doc/src/manual/arrays.md +++ b/doc/src/manual/arrays.md @@ -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 @@ -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 diff --git a/doc/src/manual/documentation.md b/doc/src/manual/documentation.md index 195df3eae514c2..41ac5e44f49519 100644 --- a/doc/src/manual/documentation.md +++ b/doc/src/manual/documentation.md @@ -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 @@ -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 @@ -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. ``` diff --git a/stdlib/Dates/src/query.jl b/stdlib/Dates/src/query.jl index 88806673cc1577..cbad78689e62cb 100644 --- a/stdlib/Dates/src/query.jl +++ b/stdlib/Dates/src/query.jl @@ -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) diff --git a/stdlib/LinearAlgebra/src/triangular.jl b/stdlib/LinearAlgebra/src/triangular.jl index ca5f4d2e0e0143..93f54f7ee5a2fa 100644 --- a/stdlib/LinearAlgebra/src/triangular.jl +++ b/stdlib/LinearAlgebra/src/triangular.jl @@ -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 @@ -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 diff --git a/stdlib/Pkg/docs/src/index.md b/stdlib/Pkg/docs/src/index.md index 53eada67798620..3206a829ae97ce 100644 --- a/stdlib/Pkg/docs/src/index.md +++ b/stdlib/Pkg/docs/src/index.md @@ -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 @@ -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