From 9625450848fa223581badff0277d1c1b6437fdd2 Mon Sep 17 00:00:00 2001 From: Ben Spencer Date: Sun, 21 Feb 2021 17:46:36 +0000 Subject: [PATCH] rust: fix a couple of doc comments --- rust/src/cells/methods.rs | 2 +- rust/src/notcurses/wrapper.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/src/cells/methods.rs b/rust/src/cells/methods.rs index 5af77c931..156bfe397 100644 --- a/rust/src/cells/methods.rs +++ b/rust/src/cells/methods.rs @@ -62,7 +62,7 @@ impl NcCell { /// /// - Breaks the UTF-8 string in `gcluster` down, setting up this NcCell. /// - Returns the number of bytes copied out of `gcluster`. - /// - The styling of the cell is left untouched, but any resources are released. + /// - Any resources are released. /// - Blasts the styling with `style` and `channels`. /// /// *C style function: [cell_prime()][crate::cell_prime].* diff --git a/rust/src/notcurses/wrapper.rs b/rust/src/notcurses/wrapper.rs index 52138da69..1ae46e8b2 100644 --- a/rust/src/notcurses/wrapper.rs +++ b/rust/src/notcurses/wrapper.rs @@ -53,7 +53,7 @@ impl<'a> FullMode<'a> { raw_wrap![Notcurses::new()] } - /// New FullMode, without banners. + /// New FullMode, with banners. pub fn with_banners() -> NcResult { raw_wrap![Notcurses::with_banners()] }