From 069afd7811c7a3ea8c318058f3e64bfc9e2882ca Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 3 Jan 2022 11:57:20 +0100 Subject: [PATCH] Remove some formatting instructions from CONTRIBUTING.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … since they are automatically enforced by rustfmt. --- CONTRIBUTING.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 51990362..aa11b9ae 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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