Skip to content

Commit 7927663

Browse files
sypharJoshua Nelson
and
Joshua Nelson
authored
Update src/web/sitemap.rs
Co-authored-by: Joshua Nelson <[email protected]>
1 parent 2bbb923 commit 7927663

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
@@ -198,10 +198,8 @@ mod tests {
198198
wrapper(|env| {
199199
let web = env.frontend();
200200

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

0 commit comments

Comments
 (0)