mfbt/STYLE
author Valentin Gosu <valentin.gosu@gmail.com>
Tue, 07 Nov 2017 17:11:08 +0100
changeset 390738 5359b9edc63d7469c1fd993ad49fb78560924b1f
parent 331778 89b895c219f2b97fc0ded8877b30c337e697bdaa
permissions -rw-r--r--
Bug 1415206 - Remove RustURL from Gecko r=bagder This class isn't being used right now, and MozURL is a much better alternative if interaction with rust URLs is required. MozReview-Commit-ID: ADdYRrrTnr6

MFBT uses standard Mozilla style, with the following exceptions.

- Some of the files use a lower-case letter at the start of function names.
  This is because MFBT used to use a different style, and was later converted
  to standard Mozilla style. These functions have not been changed to use an
  upper-case letter because it would cause a lot of churn in other parts of the
  codebase. However, new files should follow standard Mozilla style and use an
  upper-case letter at the start of function names.

- Imported third-party code (such as decimal/*, double-conversion/source/*, and
  lz4*) remains in its original style.