Rename main to Main for Carbon style consistency (#939)

Main() is more consistency with Carbon's naming guidelines. C# offers some precedent: https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/program-structure/main-command-line
This commit is contained in:
Jon Meow authored and GitHub committed 2021-11-02 14:53:18 -07:00
1 parent 17be4adec6
commit 6d822ababb
126 files changed
+130 -130

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
package ExecutableSemanticsTest api;
fn main() -> i32 {
fn Main() -> i32 {
var t2: {.x: i32, .y: i32} = {.x = 2, .y = 5};
t2.y = 3;
return t2.y - t2.x - 1; // 3 - 2 - 1