diff options
| author | Fuwn <[email protected]> | 2022-04-03 02:36:42 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-03 02:36:42 -0700 |
| commit | 4e7ddd6e2869715559c045fd0fc8e40bc771bb2f (patch) | |
| tree | 1cf3b99ae9e7a42898af89f1d5d490ce7d861d37 /src/lib.rs | |
| parent | feat: support windmark 0.1.8 (diff) | |
| download | windmark-comments-0.1.3.tar.xz windmark-comments-0.1.3.zip | |
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |