From 4e7ddd6e2869715559c045fd0fc8e40bc771bb2f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 3 Apr 2022 02:36:42 -0700 Subject: fix: windmark 0.1.9 --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') 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() { -- cgit v1.2.3