From 4fa9d1d959151a8c9d9c45a619f4d3530c0cb5b5 Mon Sep 17 00:00:00 2001 From: Mika Attila Date: Sun, 8 Mar 2015 17:11:44 +0100 Subject: [PATCH] Add info to doc that there can only be one context at a time --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c18a9b35..83fee1c8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,9 @@ pub enum NotificationCreationError { Unknown } -/// The context which within libnotify operates +/// The context which within libnotify operates. +/// +/// Only one context can exist at a time. pub struct Context; impl Context {