Skip to content

Commit 4c11259

Browse files
author
binarygcd
authored
Fix miscellaneous typos in documentation (JuliaLang#35413)
1 parent 70d7e1e commit 4c11259

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Build system changes
8282

8383
New library functions
8484
---------------------
85-
* The `@ccall` macro has been added added to Base. It is a near drop-in replacement for `ccall` with more Julia-like syntax. It also wraps the new `foreigncall` API for varargs of different types, though it lacks the the capability to specify an LLVM calling convention. ([#32748])
85+
* The `@ccall` macro has been added added to Base. It is a near drop-in replacement for `ccall` with more Julia-like syntax. It also wraps the new `foreigncall` API for varargs of different types, though it lacks the capability to specify an LLVM calling convention. ([#32748])
8686
* New functions `mergewith` and `mergewith!` supersede `merge` and `merge!` with `combine`
8787
argument. They don't have the restriction for `combine` to be a `Function` and also
8888
provide one-argument method that returns a closure. The old methods of `merge` and

base/compiler/abstractinterpretation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ function precise_container_type(@nospecialize(itft), @nospecialize(typ), vtypes:
464464
tti0 = widenconst(typ)
465465
tti = unwrap_unionall(tti0)
466466
if isa(tti, DataType) && tti.name === NamedTuple_typename
467-
# A NamedTuple iteration is the the same as the iteration of its Tuple parameter:
467+
# A NamedTuple iteration is the same as the iteration of its Tuple parameter:
468468
# compute a new `tti == unwrap_unionall(tti0)` based on that Tuple type
469469
tti = tti.parameters[2]
470470
while isa(tti, TypeVar)

base/compiler/ssair/domtree.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ begin
262262
The main Semi-NCA algrithm. Matches Figure 2.8 in [LG05].
263263
Note that the pseudocode in [LG05] is not entirely accurate.
264264
The best way to understand what's happening is to read [LT79], then the
265-
description of SLT in in [LG05] (warning: inconsistent notation), then
265+
description of SLT in [LG05] (warning: inconsistent notation), then
266266
the description of Semi-NCA.
267267
"""
268268
function SNCA(cfg::CFG)

base/intfuncs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ julia> binomial(-5, 3)
893893
* [`factorial`](@ref)
894894
895895
# External links
896-
* [Binomial coeffient](https://en.wikipedia.org/wiki/Binomial_coefficient) on Wikipedia.
896+
* [Binomial coefficient](https://en.wikipedia.org/wiki/Binomial_coefficient) on Wikipedia.
897897
"""
898898
function binomial(n::T, k::T) where T<:Integer
899899
n0, k0 = n, k

base/reflection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ implementations. An error is thrown if no fallback implementation exists.
787787
If `generated` is `true`, these `CodeInfo` instances will correspond to the method bodies
788788
yielded by expanding the generators.
789789
790-
The keyword debuginfo controls the amount of code metadata present in the output.
790+
The keyword `debuginfo` controls the amount of code metadata present in the output.
791791
792792
Note that an error will be thrown if `types` are not leaf types when `generated` is
793793
`true` and any of the corresponding methods are an `@generated` method.

doc/src/devdocs/debuggingtips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Julia's flisp interpreter uses `value_t` objects; these can be displayed with `c
2525

2626
## Useful Julia variables for Inspecting
2727

28-
While the addresses of many variables, like singletons, can be be useful to print for many failures,
28+
While the addresses of many variables, like singletons, can be useful to print for many failures,
2929
there are a number of additional variables (see `julia.h` for a complete list) that are even more
3030
useful.
3131

doc/src/devdocs/inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ running session by navigating to `base` and executing
1818
development than if you rebuild Julia for each change.
1919

2020
Alternatively, you can use the [Revise.jl](https://github.com/timholy/Revise.jl)
21-
package to track the compiler changes by using the the command
21+
package to track the compiler changes by using the command
2222
`Revise.track(Core.Compiler)` at the beginning of your Julia session. As
2323
explained in the [Revise documentation](https://timholy.github.io/Revise.jl/stable/),
2424
the modifications to the compiler will be reflected when the modified files

doc/src/manual/parallel-computing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ When using custom transports:
15741574
the worker represented by the `IO` objects.
15751575
* `init_worker(cookie, manager::FooManager)` *must* be called as part of worker process initialization.
15761576
* Field `connect_at::Any` in `WorkerConfig` can be set by the cluster manager when [`launch`](@ref)
1577-
is called. The value of this field is passed in in all [`connect`](@ref) callbacks. Typically,
1577+
is called. The value of this field is passed in all [`connect`](@ref) callbacks. Typically,
15781578
it carries information on *how to connect* to a worker. For example, the TCP/IP socket transport
15791579
uses this field to specify the `(host, port)` tuple at which to connect to a worker.
15801580

doc/src/manual/profile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ For example with `OProfile` you can try a simple recording :
329329
>opreport -l `which ./julia`
330330
```
331331
332-
Or similary with with `perf` :
332+
Or similary with `perf` :
333333
334334
```
335335
$ ENABLE_JITPROFILING=1 perf record -o /tmp/perf.data --call-graph dwarf ./julia /test/fastmath.jl

src/llvm-late-gc-lowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ void LateLowerGCFrame::FixUpRefinements(ArrayRef<int> PHINumbers, State &S)
12391239
// we can also relax non-dominating (invalid) refinements to the refinements of those values
12401240
// If all of those values dominate the phi node then the phi node can be refined to
12411241
// those values instead.
1242-
// While we recursively relax the refinement, we need to keep track of the the values we've
1242+
// While we recursively relax the refinement, we need to keep track of the values we've
12431243
// visited in order to not scan them again.
12441244
BitVector visited(S.MaxPtrNumber + 1, false);
12451245
for (auto Num: PHINumbers) {

0 commit comments

Comments
 (0)