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
2021-11-02 14:53:18 -07:00
committed by GitHub
parent 17be4adec6
commit 6d822ababb
126 changed files with 130 additions and 130 deletions
@@ -16,6 +16,6 @@ fn f(x: i32, y: i32) -> i32 {
return x + y;
}
fn main() -> i32 {
fn Main() -> i32 {
return f(2,3) - 5;
}