Skip to content

Commit 67050e9

Browse files
ntreldlang-bot
authored andcommitted
[spec] Fix 'gc' typo
1 parent 469c542 commit 67050e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/class.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ $(GNAME Destructor):
731731
)
732732

733733
$(P Objects referenced from the data segment never get collected
734-
by the gc.
734+
by the GC.
735735
)
736736

737737
$(H2 $(LNAME2 static-constructor, Static Constructors))

spec/garbage.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ struct Foo
288288

289289
$(LI Do not use byte-by-byte memory copies to copy pointer values.
290290
This may result in intermediate conditions where there is
291-
not a valid pointer, and if the gc pauses the thread in such a
291+
not a valid pointer, and if the GC pauses the thread in such a
292292
condition, it can corrupt memory.
293293
Most implementations of $(D memcpy()) will work since the
294294
internal implementation of it does the copy in aligned chunks
@@ -401,7 +401,7 @@ $(H2 $(LNAME2 gc_config, Configuring the Garbage Collector))
401401
$(UL
402402
$(LI disable:0|1 - start disabled)
403403
$(LI profile:0|1 - enable profiling with summary when terminating program)
404-
$(LI gc:conservative|precise|manual - select gc implementation (default = conservative))
404+
$(LI gc:conservative|precise|manual - select GC implementation (default = conservative))
405405
$(LI initReserve:N - initial memory to reserve in MB)
406406
$(LI minPoolSize:N - initial and minimum pool size in MB)
407407
$(LI maxPoolSize:N - maximum pool size in MB)

0 commit comments

Comments
 (0)