Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Jan 16, 2025
1 parent 043d1d6 commit 6954fdd
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 57 deletions.
6 changes: 3 additions & 3 deletions src/html/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ pub struct ToCCtx {
pub usages: Option<UsagesCtx>,
pub top_symbols: Option<TopSymbolsCtx>,
pub document_navigation_str: Option<String>,
pub dcument_navigation: Vec<ToCEntry>,
pub document_navigation: Vec<ToCEntry>,
}

impl ToCCtx {
Expand All @@ -760,7 +760,7 @@ impl ToCCtx {
usages: None,
top_symbols: None,
document_navigation_str: None,
dcument_navigation: vec![],
document_navigation: vec![],
};
}

Expand All @@ -779,7 +779,7 @@ impl ToCCtx {
None
},
document_navigation_str: ctx.toc.render(),
dcument_navigation: std::sync::Arc::into_inner(ctx.toc.toc)
document_navigation: std::sync::Arc::into_inner(ctx.toc.toc)
.unwrap()
.into_inner()
.unwrap(),
Expand Down
Loading

0 comments on commit 6954fdd

Please sign in to comment.