Skip to content

Commit 5eec0d0

Browse files
authored
Merge pull request #5526 from wilzbach/fix-ddoc3
Fix broken ddoc merged-on-behalf-of: H. S. Teoh <quickfur@users.noreply.github.com>
2 parents 51f1191 + 818deb3 commit 5eec0d0

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

std/experimental/allocator/building_blocks/segregator.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct Segregator(size_t threshold, SmallAllocator, LargeAllocator)
5050
/**
5151
This method is defined only if at least one of the allocators defines
5252
it. If $(D SmallAllocator) defines $(D expand) and $(D b.length +
53-
delta <= threshold), the call is forwarded to $(D SmallAllocator). If $(
53+
delta <= threshold), the call is forwarded to $(D SmallAllocator). If $(D
5454
LargeAllocator) defines $(D expand) and $(D b.length > threshold), the
5555
call is forwarded to $(D LargeAllocator). Otherwise, the call returns
5656
$(D false).

std/net/curl.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2377,7 +2377,7 @@ private bool decodeLineInto(Terminator, Char = char)(ref const(ubyte)[] basesrc,
23772377
* http.perform();
23782378
* ---
23792379
*
2380-
* See_Also: $(HTTP www.ietf.org/rfc/rfc2616.txt, RFC2616)
2380+
* See_Also: $(_HTTP www.ietf.org/rfc/rfc2616.txt, RFC2616)
23812381
*
23822382
*/
23832383
struct HTTP

std/regex/package.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ $(TR $(TD Objects) $(TD
7979
assert(m.front[1] == "12");
8080
...
8181
82-
// The result of the $(D matchAll/matchFirst) is directly testable with if/assert/while.
82+
// The result of the `matchAll/matchFirst` is directly testable with if/assert/while.
8383
// e.g. test if a string consists of letters:
8484
assert(matchFirst("Letter", `^\p{L}+$`));
8585
---

std/stdio.d

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ void main(string[] args)
337337
}
338338
f.writeln("!");
339339
// f exits scope, reference count falls to zero,
340-
// underlying $(D FILE*) is closed.
340+
// underlying `FILE*` is closed.
341341
}
342342
----
343343
$(CONSOLE
@@ -1519,7 +1519,7 @@ Throws:
15191519
15201520
Example:
15211521
---
1522-
// Reads $(D stdin) and writes it to $(D stdout).
1522+
// Reads `stdin` and writes it to `stdout`.
15231523
import std.stdio;
15241524
15251525
void main()
@@ -1603,9 +1603,9 @@ conversion error.
16031603
16041604
Example:
16051605
---
1606-
// Read lines from $(D stdin) into a string
1606+
// Read lines from `stdin` into a string
16071607
// Ignore lines starting with '#'
1608-
// Write the string to $(D stdout)
1608+
// Write the string to `stdout`
16091609
16101610
void main()
16111611
{
@@ -1635,7 +1635,7 @@ largest buffer returned by $(D readln):
16351635
16361636
Example:
16371637
---
1638-
// Read lines from $(D stdin) and count words
1638+
// Read lines from `stdin` and count words
16391639
16401640
void main()
16411641
{

std/string.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,8 +2744,8 @@ if ((hasSlicing!Range && hasLength!Range && isSomeChar!(ElementType!Range) ||
27442744

27452745
string s = "Hello\nmy\rname\nis";
27462746

2747-
/* notice the call to $(D array) to turn the lazy range created by
2748-
lineSplitter comparable to the $(D string[]) created by splitLines.
2747+
/* notice the call to `array` to turn the lazy range created by
2748+
lineSplitter comparable to the `string[]` created by splitLines.
27492749
*/
27502750
assert(lineSplitter(s).array == splitLines(s));
27512751
}

std/typecons.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5414,7 +5414,7 @@ assert(refCountedStore.isInitialized)).
54145414
///
54155415
pure @system nothrow @nogc unittest
54165416
{
5417-
// A pair of an $(D int) and a $(D size_t) - the latter being the
5417+
// A pair of an `int` and a `size_t` - the latter being the
54185418
// reference count - will be dynamically allocated
54195419
auto rc1 = RefCounted!int(5);
54205420
assert(rc1 == 5);
@@ -7328,7 +7328,7 @@ public:
73287328
BitFlags!Enum flags1;
73297329
assert(!(flags1 & (Enum.A | Enum.B | Enum.C)));
73307330

7331-
// You need to specify the $(D unsafe) parameter for enum with custom values
7331+
// You need to specify the `unsafe` parameter for enum with custom values
73327332
enum UnsafeEnum
73337333
{
73347334
A,

0 commit comments

Comments
 (0)