Skip to content

Fix 404.#4409

Merged
CyberShadow merged 2 commits intodlang:masterfrom
veelo:patch-1
Jun 7, 2016
Merged

Fix 404.#4409
CyberShadow merged 2 commits intodlang:masterfrom
veelo:patch-1

Conversation

@veelo
Copy link
Contributor

@veelo veelo commented Jun 5, 2016

No description provided.

/**
$(D KRRegion) draws inspiration from the $(LINK2
std_experimental_allocator_region.html, region allocation strategy) and also the
std_experimental_allocator_building_blocks_region.html, region allocation strategy) and also the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LINK2 shouldn't be used for phobos references. It doesn't work on the /library/ pages.

Use MREF instead: $(MREF std,experimental,allocator,building,blocks,region)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should that be $(MREF std,experimental,allocator,building,blocks,region, region allocation strategy) instead, or where does the link text go?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, didn't realize that it has custom text. Use MREF_ALTTEXT then; text goes first:

$(MREF_ALTTEXT region allocation strategy, std,experimental,allocator,building_blocks,region)

(I had also made a mistake with building_blocks. The underscore is part of the name there.)

@veelo
Copy link
Contributor Author

veelo commented Jun 5, 2016

Is it OK to break lines inside macro's like this?

@CyberShadow
Copy link
Member

Auto-merge toggled on

@CyberShadow CyberShadow merged commit 290894c into dlang:master Jun 7, 2016
@veelo veelo mentioned this pull request Jun 7, 2016
@veelo veelo deleted the patch-1 branch June 7, 2016 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants