Skip to content

Commit 54755ad

Browse files
authored
Fix typos in docstring, comments, and news (#56778)
1 parent c897a13 commit 54755ad

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Language changes
3636
may pave the way for inference to be able to intelligently re-use the old
3737
results, once the new method is deleted. ([#53415])
3838

39-
- Macro expansion will no longer eagerly recurse into into `Expr(:toplevel)`
39+
- Macro expansion will no longer eagerly recurse into `Expr(:toplevel)`
4040
expressions returned from macros. Instead, macro expansion of `:toplevel`
4141
expressions will be delayed until evaluation time. This allows a later
4242
expression within a given `:toplevel` expression to make use of macros

base/deprecated.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Instructions for Julia Core Developers:
55
# 1. When making a breaking change that is known to be depnedet upon by an
66
# important and closely coupled package, decide on a unique `change_name`
7-
# for your PR and add it to the list below. In general, is is better to
7+
# for your PR and add it to the list below. In general, it is better to
88
# err on the side of caution and assign a `change_name` even if it is not
99
# clear that it is required. `change_name`s may also be assigned after the
1010
# fact in a separate PR. (Note that this may cause packages to misbehave

base/pointer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ The `unsafe` prefix on this function indicates that no validation is performed o
169169
pointer `p` to ensure that it is valid. Like C, the programmer is responsible for ensuring
170170
that referenced memory is not freed or garbage collected while invoking this function.
171171
Incorrect usage may segfault your program. Unlike C, storing memory region allocated as
172-
different type may be valid provided that that the types are compatible.
172+
different type may be valid provided that the types are compatible.
173173
174174
!!! compat "Julia 1.10"
175175
The `order` argument is available as of Julia 1.10.

base/sysimg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is a part of Julia. License is MIT: https://julialang.org/license
22

3-
# Can be be loaded on top of either an existing system image built from
3+
# Can be loaded on top of either an existing system image built from
44
# `Base_compiler.jl` or standalone, in which case we will build it now.
55
let had_compiler = isdefined(Main, :Base)
66
if had_compiler; else

0 commit comments

Comments
 (0)