Remove some formatting instructions from CONTRIBUTING.md

… since they are automatically enforced by rustfmt.
This commit is contained in:
Jonas Platte 2022-01-03 11:57:20 +01:00
parent 9621b83d49
commit 069afd7811
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -97,24 +97,6 @@ use ruma_api::ruma_api;
use super::MyType;
```
Also, group imports by module. For example, do this:
```rust
use std::{
collections::BTreeMap,
convert::TryFrom,
fmt::{self, Debug, Display, Formatter},
};
```
as opposed to:
```rust
use std::collections::BTreeMap;
use std::convert::TryFrom;
use std::fmt::{self, Debug, Display, Formatter};
```
### Serde Imports
When importing methods and types from `serde_json`, methods should be such as