Fix imservice docstring

This commit is contained in:
Dorota Czaplejewicz
2019-09-10 09:25:55 +00:00
parent ed8b6eec28
commit 51562d5185
2 changed files with 3 additions and 2 deletions

View File

@ -230,7 +230,8 @@ bitflags!{
/// Map to `text_input_unstable_v3.content_purpose` values /// Map to `text_input_unstable_v3.content_purpose` values
/// ///
/// ``` /// ```
/// assert_eq!(ContentPurpose::Alpha as u32, 0); /// use rs::imservice::ContentPurpose;
/// assert_eq!(ContentPurpose::Alpha as u32, 1);
/// ``` /// ```
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub enum ContentPurpose { pub enum ContentPurpose {

View File

@ -2,7 +2,7 @@
extern crate bitflags; extern crate bitflags;
pub mod float_ord; pub mod float_ord;
mod imservice; pub mod imservice;
mod keyboard; mod keyboard;
mod layout; mod layout;
mod symbol; mod symbol;