Remove pub(self)

This commit is contained in:
Seiichi Uchida 2018-08-04 08:47:48 +09:00
parent e5c79bb26b
commit 1a6df18d6f

View file

@ -24,19 +24,19 @@ use utils::{count_newlines, first_line_width, last_line_width, mk_sp, starts_wit
use visitor::SnippetProvider; use visitor::SnippetProvider;
pub struct ListFormatting<'a> { pub struct ListFormatting<'a> {
pub(self) tactic: DefinitiveListTactic, tactic: DefinitiveListTactic,
pub(self) separator: &'a str, separator: &'a str,
pub(self) trailing_separator: SeparatorTactic, trailing_separator: SeparatorTactic,
pub(self) separator_place: SeparatorPlace, separator_place: SeparatorPlace,
pub(self) shape: Shape, shape: Shape,
// Non-expressions, e.g. items, will have a new line at the end of the list. // Non-expressions, e.g. items, will have a new line at the end of the list.
// Important for comment styles. // Important for comment styles.
pub(self) ends_with_newline: bool, ends_with_newline: bool,
// Remove newlines between list elements for expressions. // Remove newlines between list elements for expressions.
pub(self) preserve_newline: bool, preserve_newline: bool,
// Nested import lists get some special handling for the "Mixed" list type // Nested import lists get some special handling for the "Mixed" list type
pub(self) nested: bool, nested: bool,
pub(self) config: &'a Config, config: &'a Config,
} }
impl<'a> ListFormatting<'a> { impl<'a> ListFormatting<'a> {