Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusmanske committed Feb 17, 2025
1 parent 97b3028 commit ccf431e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pagelist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl PageList {
self.entries.read().ok()?.get(entry).map(|e| e.clone())
}

pub fn to_titles_namepsaces(&self) -> Vec<(String, NamespaceID)> {
pub fn to_titles_namespaces(&self) -> Vec<(String, NamespaceID)> {
self.entries
.read()
.unwrap()
Expand Down
2 changes: 1 addition & 1 deletion src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ impl Platform {
}

if add_subpages {
let title_ns = result.to_titles_namepsaces();
let title_ns = result.to_titles_namespaces();
let wiki = match result.wiki() {
Some(wiki) => wiki.to_owned(),
None => return Err(anyhow!("Platform::process_redlinks: no wiki set in result")),
Expand Down

0 comments on commit ccf431e

Please sign in to comment.