Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Documentation/rust/coding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ good news!
.. note:: Conventions on comments and documentation are not checked by
``rustfmt``. Thus we still need to take care of those: please see
:ref:`Documentation/rust/docs.rst <rust_docs>`.

.. note:: `rustfmt` also preserves formatting inside most macros. So you might
need to manually adjust newlines and indents inside macro invocations.

We use the tool's default settings. This means we are following the idiomatic
Rust style. For instance, we use 4 spaces for indentation rather than tabs.
Expand Down