aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/completions/postfix/format_like.rs
diff options
context:
space:
mode:
authorIgor Aleksanov <[email protected]>2020-10-26 17:37:19 +0000
committerIgor Aleksanov <[email protected]>2020-10-26 17:37:19 +0000
commit357bf0cedc658b7c95952324fda4bbe7f41a3e6a (patch)
treed0ecdbfb88091d423ca7d33571d358da216ec1b1 /crates/completion/src/completions/postfix/format_like.rs
parent1759f2fc17689d3e1b80fa75c24f29e629ffae0d (diff)
Reduce visibility of some methods
Diffstat (limited to 'crates/completion/src/completions/postfix/format_like.rs')
-rw-r--r--crates/completion/src/completions/postfix/format_like.rs2
1 files changed, 1 insertions, 1 deletions
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<String> {
70/// Parser for a format-like string. It is more allowing in terms of string contents, 70/// Parser for a format-like string. It is more allowing in terms of string contents,
71/// as we expect variable placeholders to be filled with expressions. 71/// as we expect variable placeholders to be filled with expressions.
72#[derive(Debug)] 72#[derive(Debug)]
73pub struct FormatStrParser { 73pub(crate) struct FormatStrParser {
74 input: String, 74 input: String,
75 output: String, 75 output: String,
76 extracted_expressions: Vec<String>, 76 extracted_expressions: Vec<String>,