Skip to content

Fix broken ddoc #5526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion std/experimental/allocator/building_blocks/segregator.d
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct Segregator(size_t threshold, SmallAllocator, LargeAllocator)
/**
This method is defined only if at least one of the allocators defines
it. If $(D SmallAllocator) defines $(D expand) and $(D b.length +
delta <= threshold), the call is forwarded to $(D SmallAllocator). If $(
delta <= threshold), the call is forwarded to $(D SmallAllocator). If $(D
LargeAllocator) defines $(D expand) and $(D b.length > threshold), the
call is forwarded to $(D LargeAllocator). Otherwise, the call returns
$(D false).
Expand Down
2 changes: 1 addition & 1 deletion std/net/curl.d
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ private bool decodeLineInto(Terminator, Char = char)(ref const(ubyte)[] basesrc,
* http.perform();
* ---
*
* See_Also: $(HTTP www.ietf.org/rfc/rfc2616.txt, RFC2616)
* See_Also: $(_HTTP www.ietf.org/rfc/rfc2616.txt, RFC2616)
*
*/
struct HTTP
Expand Down
2 changes: 1 addition & 1 deletion std/regex/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $(TR $(TD Objects) $(TD
assert(m.front[1] == "12");
...

// The result of the $(D matchAll/matchFirst) is directly testable with if/assert/while.
// The result of the `matchAll/matchFirst` is directly testable with if/assert/while.
// e.g. test if a string consists of letters:
assert(matchFirst("Letter", `^\p{L}+$`));
---
Expand Down
10 changes: 5 additions & 5 deletions std/stdio.d
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ void main(string[] args)
}
f.writeln("!");
// f exits scope, reference count falls to zero,
// underlying $(D FILE*) is closed.
// underlying `FILE*` is closed.
}
----
$(CONSOLE
Expand Down Expand Up @@ -1519,7 +1519,7 @@ Throws:

Example:
---
// Reads $(D stdin) and writes it to $(D stdout).
// Reads `stdin` and writes it to `stdout`.
import std.stdio;

void main()
Expand Down Expand Up @@ -1603,9 +1603,9 @@ conversion error.

Example:
---
// Read lines from $(D stdin) into a string
// Read lines from `stdin` into a string
// Ignore lines starting with '#'
// Write the string to $(D stdout)
// Write the string to `stdout`

void main()
{
Expand Down Expand Up @@ -1635,7 +1635,7 @@ largest buffer returned by $(D readln):

Example:
---
// Read lines from $(D stdin) and count words
// Read lines from `stdin` and count words

void main()
{
Expand Down
4 changes: 2 additions & 2 deletions std/string.d
Original file line number Diff line number Diff line change
Expand Up @@ -2744,8 +2744,8 @@ if ((hasSlicing!Range && hasLength!Range && isSomeChar!(ElementType!Range) ||

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

/* notice the call to $(D array) to turn the lazy range created by
lineSplitter comparable to the $(D string[]) created by splitLines.
/* notice the call to `array` to turn the lazy range created by
lineSplitter comparable to the `string[]` created by splitLines.
*/
assert(lineSplitter(s).array == splitLines(s));
}
Expand Down
4 changes: 2 additions & 2 deletions std/typecons.d
Original file line number Diff line number Diff line change
Expand Up @@ -5414,7 +5414,7 @@ assert(refCountedStore.isInitialized)).
///
pure @system nothrow @nogc unittest
{
// A pair of an $(D int) and a $(D size_t) - the latter being the
// A pair of an `int` and a `size_t` - the latter being the
// reference count - will be dynamically allocated
auto rc1 = RefCounted!int(5);
assert(rc1 == 5);
Expand Down Expand Up @@ -7328,7 +7328,7 @@ public:
BitFlags!Enum flags1;
assert(!(flags1 & (Enum.A | Enum.B | Enum.C)));

// You need to specify the $(D unsafe) parameter for enum with custom values
// You need to specify the `unsafe` parameter for enum with custom values
enum UnsafeEnum
{
A,
Expand Down