diff --git a/docs/types/reference-types.rst b/docs/types/reference-types.rst index 6a7667b6b..771fdecee 100644 --- a/docs/types/reference-types.rst +++ b/docs/types/reference-types.rst @@ -686,11 +686,11 @@ shown in the following example: uint fundingGoal; uint numFunders; uint amount; - mapping (uint => Funder) funders; + mapping(uint => Funder) funders; } uint numCampaigns; - mapping (uint => Campaign) campaigns; + mapping(uint => Campaign) campaigns; function newCampaign(address payable beneficiary, uint goal) public returns (uint campaignID) { campaignID = numCampaigns++; // campaignID is return variable