JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

fix

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨98d35b2

Showing ⁨⁨1⁩ changed file⁩ with ⁨⁨1⁩ insertion⁩ and ⁨⁨1⁩ deletion⁩

src/model/instance.rs

View file
@@ -22,7 +22,7 @@ pub struct InstanceMeta {
22 22 /// };
23 23 ///
24 24 /// // This is correct
25 /// assert_eq!(Instance::from_str("giterated.dev"), instance);
25 /// assert_eq!(Instance::from_str("giterated.dev").unwrap(), instance);
26 26 /// ```
27 27 #[derive(Clone, Debug, Hash, PartialEq, Eq, Serialize, Deserialize)]
28 28 pub struct Instance {