Skip to content

Commit

Permalink
Update operatoroverloading.dd
Browse files Browse the repository at this point in the history
Improved formatting by putting some code within text inside "$(D ...)".
  • Loading branch information
ralphtandetzky committed Dec 18, 2013
1 parent 52a5a35 commit 93b4c53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions operatoroverloading.dd
Expand Up @@ -596,7 +596,7 @@ void test() {
were an array.
)

$(P If an index expression can be rewritten using opIndexAssign or opIndexOpAssign,
$(P If an index expression can be rewritten using $(D opIndexAssign) or $(D opIndexOpAssign),
those are preferred over opIndex.
)

Expand All @@ -623,8 +623,8 @@ void test() {
}
-------

$(P If a slice expression can be rewritten using opSliceAssign or opSliceOpAssign,
those are preferred over opSlice.
$(P If a slice expression can be rewritten using $(D opSliceAssign) or $(D opSliceOpAssign),
those are preferred over $(D opSlice).
)

$(H2 $(LNAME2 Dollar, Dollar Operator Overloading))
Expand Down

0 comments on commit 93b4c53

Please sign in to comment.