Skip to content

Commit 28e464f

Browse files
committed
fixed typo and added doc-comment
1 parent ca74d60 commit 28e464f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer/html_handlebars/hbs_wrapper.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fn build_header_links(html: &str) -> String {
8181
.into_owned()
8282
}
8383

84-
/// Insert a sinle link into a header, making sure each link gets its own
84+
/// Insert a single link into a header, making sure each link gets its own
8585
/// unique ID by appending an auto-incremented number (if necessary).
8686
fn insert_link_into_header(
8787
level: usize,
@@ -170,6 +170,7 @@ fn add_playpen_pre(html: &str, playpen_config: &Playpen) -> String {
170170
.into_owned()
171171
}
172172

173+
/// Split source code to module-level attributes (from head of text) and rest text
173174
fn partition_source(s: &str) -> (String, String) {
174175
let mut after_header = false;
175176
let mut before = String::new();

0 commit comments

Comments
 (0)