diff --git a/src/model/instance.rs b/src/model/instance.rs index 26587bd..5197c63 100644 --- a/src/model/instance.rs +++ b/src/model/instance.rs @@ -22,7 +22,7 @@ pub struct InstanceMeta { /// }; /// /// // This is correct -/// assert_eq!(Instance::from_str("giterated.dev"), instance); +/// assert_eq!(Instance::from_str("giterated.dev").unwrap(), instance); /// ``` #[derive(Clone, Debug, Hash, PartialEq, Eq, Serialize, Deserialize)] pub struct Instance {