aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/filters/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_shared/src/filters/mod.rs b/askama_shared/src/filters/mod.rs
index 2b3758c..9b760f0 100644
--- a/askama_shared/src/filters/mod.rs
+++ b/askama_shared/src/filters/mod.rs
@@ -189,7 +189,7 @@ pub fn capitalize(s: &fmt::Display) -> Result<String> {
}
}
-/// Centers the value in a field of a given width.
+/// Centers the value in a field of a given width
pub fn center(s: &fmt::Display, l: usize) -> Result<String> {
let s = format!("{}", s);
let len = s.len();
@@ -216,7 +216,7 @@ pub fn center(s: &fmt::Display, l: usize) -> Result<String> {
}
}
-/// Count the words in that string.
+/// Count the words in that string
pub fn wordcount(s: &fmt::Display) -> Result<usize> {
let s = format!("{}", s);