style: rustfmt collect_wikilink_inner signature

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Test
2026-03-05 11:53:15 +01:00
parent d41e4ea34a
commit 6a57e83c99

View File

@@ -140,9 +140,7 @@ fn strip_markdown_chars(s: &str) -> String {
}
/// Collect chars inside a wikilink until `]]`, consuming both closing brackets.
fn collect_wikilink_inner(
chars: &mut std::iter::Peekable<impl Iterator<Item = char>>,
) -> String {
fn collect_wikilink_inner(chars: &mut std::iter::Peekable<impl Iterator<Item = char>>) -> String {
let mut buf = String::new();
while let Some(c) = chars.next() {
if c == ']' && chars.peek() == Some(&']') {