From 357bf0cedc658b7c95952324fda4bbe7f41a3e6a Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Mon, 26 Oct 2020 20:37:19 +0300 Subject: Reduce visibility of some methods --- crates/completion/src/completions/postfix/format_like.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/completion/src/completions') diff --git a/crates/completion/src/completions/postfix/format_like.rs b/crates/completion/src/completions/postfix/format_like.rs index 3595e0fce..f35114ed1 100644 --- a/crates/completion/src/completions/postfix/format_like.rs +++ b/crates/completion/src/completions/postfix/format_like.rs @@ -70,7 +70,7 @@ fn string_literal_contents(item: &ast::String) -> Option { /// Parser for a format-like string. It is more allowing in terms of string contents, /// as we expect variable placeholders to be filled with expressions. #[derive(Debug)] -pub struct FormatStrParser { +pub(crate) struct FormatStrParser { input: String, output: String, extracted_expressions: Vec, -- cgit v1.2.3