Commit 59104b1e authored by Kartikaya Gupta's avatar Kartikaya Gupta Committed by Ryan Hunt

Increase parse error message to include more context

parent d4ae7fca
......@@ -257,10 +257,10 @@ impl Parser {
if !self.cache_src.contains_key(&owned_mod_path) {
fn limit_string(text: &str) -> &str {
if text.len() <= 30 {
if text.len() <= 100 {
text
} else {
&text[..30]
&text[..100]
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment