From 30bf7e43db2667470875ea4477a95aa297896851 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 12 Nov 2019 15:41:02 +0300 Subject: Disallow regressing crate docs --- crates/ra_fmt/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/ra_fmt/src') diff --git a/crates/ra_fmt/src/lib.rs b/crates/ra_fmt/src/lib.rs index e22ac9753..a30ed4cbb 100644 --- a/crates/ra_fmt/src/lib.rs +++ b/crates/ra_fmt/src/lib.rs @@ -1,5 +1,7 @@ //! This crate provides some utilities for indenting rust code. -//! + +use std::iter::successors; + use itertools::Itertools; use ra_syntax::{ ast::{self, AstNode, AstToken}, @@ -7,7 +9,6 @@ use ra_syntax::{ SyntaxKind::*, SyntaxNode, SyntaxToken, T, }; -use std::iter::successors; pub fn reindent(text: &str, indent: &str) -> String { let indent = format!("\n{}", indent); -- cgit v1.2.3