Skip to content

Commit 2dc334b

Browse files
committed
Cargo format.
1 parent 061a6bc commit 2dc334b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/scan.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ pub fn parse(lang: Language, content: &str) -> Result<Tree> {
135135
Language::Rust => ts_lang_rust(),
136136
};
137137
parser.set_language(&ts_lang).context("set language")?;
138-
138+
139139
// Allow deprecated method for now - the new API is more complex
140140
// and the current method works fine for our needs
141141
#[allow(deprecated)]
142142
parser.set_timeout_micros(5_000_000); // 5 second timeout
143-
143+
144144
parser.parse(content, None).context("parse")
145145
}
146146

0 commit comments

Comments
 (0)