summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril Plisko <cyril.plisko@mountall.com>2017-09-06 10:01:21 +0300
committerCyril Plisko <cyril.plisko@mountall.com>2017-09-06 10:01:59 +0300
commit7b193c6ccc0ac0de6b63ff81e938bb7a711e5978 (patch)
tree0fec9a43bd4fc392570c1c97d5c7e37e524a21a8
parent3c1c7541ca1a7e8f41d005d9c8c14f5717e4abe5 (diff)
Cleanup comments
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0a92b20..575e206 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -86,7 +86,7 @@ pub struct Pager {
}
impl Pager {
- /// Creates new instance of pager with default settings
+ /// Creates new instance of `Pager` with default settings
pub fn new() -> Self {
Self::with_env(DEFAULT_PAGER_ENV)
}
@@ -108,7 +108,7 @@ impl Pager {
Self::with_env(env)
}
- /// Creates a new pager instance directly specifying the desired pager
+ /// Creates a new `Pager` instance directly specifying the desired pager
pub fn with_pager(pager: &str) -> Self {
Self {
pager: OsString::from(pager).into(),
@@ -126,7 +126,7 @@ impl Pager {
}
}
- /// Gives quick assessment of successful Pager setup
+ /// Gives quick assessment of successful `Pager` setup
pub fn is_on(&self) -> bool {
self.on
}