From 9a640b3438ef302d83741c6cbe58b54a6e2f4e77 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 3 May 2022 01:22:02 +0900 Subject: [PATCH] Rename: deref07() -> deref() --- plume-common/src/activity_pub/inbox.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plume-common/src/activity_pub/inbox.rs b/plume-common/src/activity_pub/inbox.rs index 0b681274..e1a04eeb 100644 --- a/plume-common/src/activity_pub/inbox.rs +++ b/plume-common/src/activity_pub/inbox.rs @@ -353,14 +353,14 @@ pub trait FromId: Sized { Ok(x) => Ok(x), _ => match object { Some(o) => Self::from_activity07(ctx, o).map_err(|e| (None, e)), - None => Self::from_activity07(ctx, Self::deref07(id, proxy.cloned())?) + None => Self::from_activity07(ctx, Self::deref(id, proxy.cloned())?) .map_err(|e| (None, e)), }, } } /// Dereferences an ID - fn deref07( + fn deref( id: &str, proxy: Option, ) -> Result, Self::Error)> {