We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5e740 commit b6ae580Copy full SHA for b6ae580
vhdl_lang/src/data/contents.rs
@@ -119,7 +119,7 @@ impl Contents {
119
self.lines
120
.splice(
121
start_line..=end_line,
122
- split_lines(&merged_content).into_iter(),
+ split_lines(&merged_content),
123
)
124
.count();
125
}
vhdl_lang/src/syntax/context.rs
@@ -216,8 +216,7 @@ mod tests {
216
217
#[test]
218
fn test_context_clause() {
219
- let variants = vec![
220
- &"\
+ let variants = [&"\
221
context ident is
222
end;
223
",
@@ -232,8 +231,7 @@ end ident;
232
231
&"\
233
234
end context ident;
235
-",
236
- ];
+"];
237
for (idx, variant) in variants.iter().enumerate() {
238
let has_end_ident = idx >= 2;
239
let code = Code::new(variant);
0 commit comments