aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-03 02:36:42 -0700
committerFuwn <[email protected]>2022-04-03 02:36:42 -0700
commit4e7ddd6e2869715559c045fd0fc8e40bc771bb2f (patch)
tree1cf3b99ae9e7a42898af89f1d5d490ce7d861d37 /src/lib.rs
parentfeat: support windmark 0.1.8 (diff)
downloadwindmark-comments-4e7ddd6e2869715559c045fd0fc8e40bc771bb2f.tar.xz
windmark-comments-4e7ddd6e2869715559c045fd0fc8e40bc771bb2f.zip
fix: windmark 0.1.9HEAD0.1.3main
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9623f4f..48070f7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,7 +32,7 @@
//! # Cargo.toml
//!
//! [dependencies]
-//! windmark-comments = "0.1.2"
+//! windmark-comments = "0.1.3"
//! ```
//!
//! ### Attach Windmark Comments as a module (Windmark >= 0.1.8)
@@ -188,7 +188,7 @@ pub fn module(router: &mut windmark::Router) {
}),
);
- router.set_footer(Box::new(|_| {
+ router.add_footer(Box::new(|_| {
format!(
"## COMMENTS ({}/{})\n=> /api/post-comment Make a comment!\n{}",
if let Ok(comments) = COMMENTS.lock() {