Skip to content

Commit 0126fc8

Browse files
sypharJoshua Nelson
and
Joshua Nelson
committed
Update src/web/sitemap.rs
Co-authored-by: Joshua Nelson <[email protected]>
1 parent ccc59c2 commit 0126fc8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/web/sitemap.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,8 @@ mod tests {
196196
wrapper(|env| {
197197
let web = env.frontend();
198198

199-
let letters: Vec<char> = (b'a'..=b'z').map(char::from).collect();
200-
201199
// letter-sitemaps always work, even without crates & releases
202-
for letter in letters.iter().as_ref() {
200+
for letter in 'a'..='z' {
203201
assert_success(&format!("/-/sitemap/{}/sitemap.xml", letter), web)?;
204202
}
205203

0 commit comments

Comments
 (0)