Add remaining missing documentation

This commit is contained in:
Mika Attila 2015-11-03 01:04:22 +01:00
parent 6251e0ad5c
commit d282d2cd50

View File

@ -51,6 +51,7 @@ impl fmt::Display for ContextCreationError {
} }
#[derive(Debug)] #[derive(Debug)]
/// An error that can happen when attempting to create a notification.
pub enum NotificationCreationError { pub enum NotificationCreationError {
/// A nul byte was found in the provided string. /// A nul byte was found in the provided string.
NulError(ffi::NulError), NulError(ffi::NulError),
@ -179,6 +180,7 @@ impl<'a> Notification<'a> {
} }
} }
/// An error that can happen when attempting to show a notification.
#[derive(Debug)] #[derive(Debug)]
pub struct NotificationShowError { pub struct NotificationShowError {
message: String, message: String,