From 5ae74cab8ffe9a23ec36c16b8d05750def87a458 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Mon, 1 May 2017 22:01:19 +0200 Subject: [PATCH] Add todo on equal output for `where_density = Tall` or `Vertical` --- src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index d05f6c9ea48..bdea5303163 100644 --- a/src/config.rs +++ b/src/config.rs @@ -357,8 +357,10 @@ fn default() -> Config { type_punctuation_density: TypeDensity, TypeDensity::Wide, "Determines if '+' or '=' are wrapped in spaces in the punctuation of types"; where_style: Style, Style::Default, "Overall strategy for where clauses"; - // Should we at least try to put the where clause on the same line as the rest of the + // TODO: + // 1. Should we at least try to put the where clause on the same line as the rest of the // function decl? + // 2. Currently options `Tall` and `Vertical` produce the same output. where_density: Density, Density::CompressedIfEmpty, "Density of a where clause"; where_layout: ListTactic, ListTactic::Vertical, "Element layout inside a where clause"; where_pred_indent: IndentStyle, IndentStyle::Visual,