Skip to content

Commit

Permalink
reduce visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Apr 22, 2019
1 parent 28ce23f commit b83ea7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/mod.rs
Expand Up @@ -366,7 +366,7 @@ fn char_lit(lit: &str, diag: Option<(Span, &Handler)>) -> (char, isize) {
}

/// Parses a string representing a string literal into its final form. Does unescaping.
pub fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String {
fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String {
debug!("str_lit: given {}", lit.escape_default());
let mut res = String::with_capacity(lit.len());

Expand Down

0 comments on commit b83ea7f

Please sign in to comment.