diff options
author | Cyril Plisko <cyril.plisko@mountall.com> | 2017-09-06 10:01:21 +0300 |
---|---|---|
committer | Cyril Plisko <cyril.plisko@mountall.com> | 2017-09-06 10:01:59 +0300 |
commit | 7b193c6ccc0ac0de6b63ff81e938bb7a711e5978 (patch) | |
tree | 0fec9a43bd4fc392570c1c97d5c7e37e524a21a8 | |
parent | 3c1c7541ca1a7e8f41d005d9c8c14f5717e4abe5 (diff) |
Cleanup comments
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |