Change example code formatting

This commit is contained in:
Denton Liu 2016-08-11 16:53:07 -04:00
parent 02a72871d2
commit c58e460ba2

View File

@ -171,9 +171,9 @@ for the two input parameters and two returned values.
* @return s The calculated surface.
* @return p The calculated perimeter.
*/
function rectangle(uint w, uint h) returns (uint s, uint p){
s = w*h;
p = 2*(w+h);
function rectangle(uint w, uint h) returns (uint s, uint p) {
s = w * h;
p = 2 * (w + h);
}
}