]> Untitled Git - lemmy.git/blobdiff - crates/apub_lib/src/object_id.rs
Fixing liking comment on blocked person. Fixes #2033 (#2042)
[lemmy.git] / crates / apub_lib / src / object_id.rs
index b2be92e5afc3174fefd17ff62996e78d896ea59d..41b18ef93ef2527a95c6b8045b63350add59c683 100644 (file)
@@ -161,7 +161,7 @@ where
   #[allow(clippy::to_string_in_display)]
   fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
     // Use to_string here because Url.display is not useful for us
-    write!(f, "{}", self.0.to_string())
+    write!(f, "{}", self.0)
   }
 }