From 54a106ca166ef37129fbcb8490ab94e5cb7f346d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 8 Oct 2018 11:22:43 +0200 Subject: Remove periods from documentation sentence fragments --- askama_shared/src/filters/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_shared') 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 { } } -/// 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 { let s = format!("{}", s); let len = s.len(); @@ -216,7 +216,7 @@ pub fn center(s: &fmt::Display, l: usize) -> Result { } } -/// Count the words in that string. +/// Count the words in that string pub fn wordcount(s: &fmt::Display) -> Result { let s = format!("{}", s); -- cgit