[rust] minor docs & style fixes

pull/2173/head
joseLuís 3 years ago
parent ac5b31960c
commit 5c3fdbe677

@ -2,8 +2,8 @@
name = "libnotcurses-sys"
version = "2.4.1"
authors = [
"nick black <dankamongmen@gmail.com>",
"José Luis Cruz <joseluis@andamira.net>"
"nick black <dankamongmen@gmail.com>",
"José Luis Cruz <joseluis@andamira.net>"
]
license = "MIT OR Apache-2.0"
edition = "2018"
@ -29,8 +29,6 @@ libc = { version = "^0.2.80", default-features = false }
cty = "^0.2.1"
[build-dependencies]
# https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md#0551
# https://pkgs.org/search/?q=bindgen
bindgen = "^0.57"
pkg-config = "^0.3.18"

@ -281,7 +281,7 @@ pub const NCALPHA_FG_RGB_MASK: u64 = crate::bindings::ffi::NC_FG_RGB_MASK;
///
pub type NcChannels = u64;
#[deprecated]
#[deprecated = "use NcChannels instead"]
#[doc(hidden)]
pub type NcChannelPair = NcChannels;

@ -15,13 +15,10 @@ use crate::NcDim;
mod keycodes;
pub use keycodes::*;
/// Reads and decodes input events
/// Reads and decodes input events.
///
/// Reads from stdin and decodes the input to stdout,
/// including synthesized events and mouse events.
///
///
/// Notcurses provides input from keyboards and mice.
/// Reads from stdin and decodes the input to stdout, including synthesized
/// events and mouse events. Notcurses provides input from keyboards and mice.
/// Single Unicode codepoints are received from the keyboard, directly encoded
/// as `u32`.
///

@ -53,7 +53,6 @@
//W ncplane_move_bottom
//W ncplane_move_top
//W ncplane_move_yx
// X ncplane_new // deprecated
//W# ncplane_notcurses
//W# ncplane_notcurses_const
//W ncplane_off_styles
@ -110,9 +109,6 @@
// ncplane_set_userptr
//W ncplane_stain
//W ncplane_styles
// X ncplane_styles_off // deprecated
// X ncplane_styles_on // deprecated
// X ncplane_styles_set // deprecated
//W ncplane_translate
//W ncplane_translate_abs
// ncplane_userptr

Loading…
Cancel
Save