mfbt/STYLE
author Ralph Giles <giles@mozilla.com>
Thu, 22 Feb 2018 11:49:13 -0800
changeset 405841 4ff0b140243a419443ff288a486a54834ed26d93
parent 331778 89b895c219f2b97fc0ded8877b30c337e697bdaa
permissions -rw-r--r--
Bug 1430927 - Require Rust 1.24. r=froydnj Require the current stable Rust release so new features can be used in development. MozReview-Commit-ID: 4NQNk3RfBkF

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.