diff --git a/src/error.rs b/src/error.rs index ec51ce55..b026c48c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,7 +1,6 @@ use std::fmt::{self, Debug, Display}; use std::io; - /// Provides `IxaError` and maps to other errors to /// convert to an `IxaError` #[derive(Debug)] diff --git a/src/global_properties.rs b/src/global_properties.rs index 6c343361..13b7dfda 100644 --- a/src/global_properties.rs +++ b/src/global_properties.rs @@ -45,6 +45,9 @@ crate::context::define_data_plugin!( pub trait ContextGlobalPropertiesExt { /// Set the value of a global property of type T + /// + /// # Errors + /// Will return an error if an attempt is made to change a value. fn set_global_property_value( &mut self, property: T,