Code formatting: allow short inline methods on one line

Summary:
@public

This allows short methods defined in class declarations to occupy a single line.
The change makes class declarations more readable.

Reviewed By: SidharthGuglani

Differential Revision: D14950012

fbshipit-source-id: 1321949475184181c6cceb86613f730e430763e2
This commit is contained in:
David Aurelio
2019-04-16 07:09:36 -07:00
committed by Facebook Github Bot
parent 3f7d03b443
commit e9bb1efb03
10 changed files with 47 additions and 139 deletions

View File

@@ -44,7 +44,5 @@ struct YGLayout {
hadOverflow(false) {}
bool operator==(YGLayout layout) const;
bool operator!=(YGLayout layout) const {
return !(*this == layout);
}
bool operator!=(YGLayout layout) const { return !(*this == layout); }
};