Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
object: Fix punctuation in example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Mar 31, 2020
1 parent 0f9cd78 commit 7833eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object.d
Original file line number Diff line number Diff line change
Expand Up @@ -2656,7 +2656,7 @@ if (is(typeof(create()) : V) && is(typeof(update(aa[K.init])) : V))
auto aa = ["k1": 1];

aa.update("k1", {
return -1; // create (won't be executed
return -1; // create (won't be executed)
}, (ref int v) {
return v + 1; // update
});
Expand Down

0 comments on commit 7833eb3

Please sign in to comment.