Skip to content

Commit f837bf0

Browse files
KristofferCclaude
andauthored
doc: Fix grammar, typos, and formatting issues across documentation (#58932)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 45e0925 commit f837bf0

23 files changed

+44
-42
lines changed

doc/src/base/base.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Introduction
44

55
Julia Base contains a range of functions and macros appropriate for performing
6-
scientific and numerical computing, but is also as broad as those of many general purpose programming
6+
scientific and numerical computing, but is also as broad as those of many general-purpose programming
77
languages. Additional functionality is available from a growing collection of
88
[available packages](https://julialang.org/packages/).
99
Functions are grouped by topic below.

doc/src/base/collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Partially implemented by:
275275

276276
* [`Array`](@ref)
277277

278-
## Dequeues
278+
## Deques
279279

280280
```@docs
281281
Base.push!

doc/src/base/numbers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Base.@uint128_str
148148

149149
## [BigFloats and BigInts](@id BigFloats-and-BigInts)
150150

151-
The [`BigFloat`](@ref) and [`BigInt`](@ref) types implements
151+
The [`BigFloat`](@ref) and [`BigInt`](@ref) types implement
152152
arbitrary-precision floating point and integer arithmetic, respectively. For
153153
[`BigFloat`](@ref) the [GNU MPFR library](https://www.mpfr.org/) is used,
154154
and for [`BigInt`](@ref) the [GNU Multiple Precision Arithmetic Library (GMP)]

doc/src/base/parallel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,5 @@ non-atomic assignment of `ev.task`)
159159
In this example, `notify(ev::OneWayEvent)` is allowed to call `schedule(ev.task)` if and
160160
only if *it* modifies the state from `OWE_WAITING` to `OWE_NOTIFYING`. This lets us know that
161161
the task executing `wait(ev::OneWayEvent)` is now in the `ok` branch and that there cannot be
162-
other tasks that tries to `schedule(ev.task)` since their
162+
other tasks that try to `schedule(ev.task)` since their
163163
`@atomicreplace(ev.state, state => OWE_NOTIFYING)` will fail.

doc/src/base/reflection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ For more information see [`@code_lowered`](@ref), [`@code_typed`](@ref), [`@code
142142
### Printing of debug information
143143

144144
The aforementioned functions and macros take the keyword argument `debuginfo` that controls the level
145-
debug information printed.
145+
of debug information printed.
146146

147147
```jldoctest; setup = :(using InteractiveUtils), filter = r"int.jl:\d+"
148148
julia> InteractiveUtils.@code_typed debuginfo=:source +(1,1)

doc/src/base/scopedvalues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ provided scoped value taking priority over previous definitions.
2525

2626
Let's first look at an example of **lexical** scope. A `let` statement begins
2727
a new lexical scope within which the outer definition of `x` is shadowed by
28-
it's inner definition.
28+
its inner definition.
2929

3030
```jldoctest
3131
julia> x = 1

doc/src/devdocs/ast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ parses as:
163163
```
164164
(if a (block (line 2) b)
165165
(elseif (block (line 3) c) (block (line 4) d)
166-
(block (line 6 e))))
166+
(block (line 6) e)))
167167
```
168168

169169
A `while` loop parses as `(while condition body)`.

doc/src/devdocs/backtraces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ Note that this is only works on Linux. The blog post on [Time Travelling Bug Rep
128128
A few terms have been used as shorthand in this guide:
129129

130130
* `<julia_root>` refers to the root directory of the Julia source tree; e.g. it should contain folders
131-
such as `base`, `deps`, `src`, `test`, etc.....
131+
such as `base`, `deps`, `src`, `test`, etc.

doc/src/devdocs/builtins.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ Core.memoryrefsetonce!
3333

3434
## Module bindings
3535

36+
```@docs
3637
Core.get_binding_type
38+
```
3739

3840
## Other
3941

doc/src/devdocs/callconv.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ signature.
1818
* LLVM scalars and vectors are passed by value.
1919
* LLVM aggregates (arrays and structs) are passed by reference.
2020

21-
A small return values is returned as LLVM return values. A large return values is returned via
21+
A small return value is returned as LLVM return values. A large return value is returned via
2222
the "structure return" (`sret`) convention, where the caller provides a pointer to a return slot.
2323

24-
An argument or return values that is a homogeneous tuple is sometimes represented as an LLVM vector
24+
An argument or return value that is a homogeneous tuple is sometimes represented as an LLVM vector
2525
instead of an LLVM array.
2626

2727
## JL Call Convention

0 commit comments

Comments
 (0)