[webkit-changes] [WebKit/WebKit] 0fa4ca: [Style Guide] Only use the arrow for function retu...

Myles C. Maxfield noreply at github.com
Thu Jan 26 21:50:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0fa4caf58e80a19f7c8589e5019ff55d2889d6bc
      https://github.com/WebKit/WebKit/commit/0fa4caf58e80a19f7c8589e5019ff55d2889d6bc
  Author: Myles C. Maxfield <mmaxfield at apple.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M Websites/webkit.org/code-style.md

  Log Message:
  -----------
  [Style Guide] Only use the arrow for function return types if it allows you to omit redundant information
https://bugs.webkit.org/show_bug.cgi?id=251239
rdar://104722324

Reviewed by Ryosuke Niwa.

We probably don't want people using -> in function signatures all over the place where it isn't necessary.

* Websites/webkit.org/code-style.md:

Canonical link: https://commits.webkit.org/259468@main




More information about the webkit-changes mailing list