diff options
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r-- | docs/frequently-asked-questions.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index ff4d6fc0..65b5afdf 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -179,7 +179,7 @@ Mappings are already syntactically similar to arrays as they are, therefore it d An example of this would be:: - contract c { + contract C { struct myStruct { uint someNumber; string someString; @@ -218,7 +218,7 @@ Example:: contract C { function f() returns (uint8[5]) { - string[4] memory AdaArr = ["This", "is", "an", "array"]; + string[4] memory adaArr = ["This", "is", "an", "array"]; return ([1, 2, 3, 4, 5]); } } @@ -360,7 +360,7 @@ Examples:: S public x = S(1, 2); string name = "Ada"; - string[4] memory AdaArr = ["This", "is", "an", "array"]; + string[4] memory adaArr = ["This", "is", "an", "array"]; } |