diff --git a/db/db-core/src/lib.rs b/db/db-core/src/lib.rs index 10d0b2f..2603f10 100644 --- a/db/db-core/src/lib.rs +++ b/db/db-core/src/lib.rs @@ -210,7 +210,7 @@ pub trait SCDatabase: std::marker::Send + std::marker::Sync + CloneSPDatabase { /// get user data async fn get_user(&self, username: &str, url: &Url) -> DBResult; - /// check if an user exists. When url of a forge instace is provided, username search is + /// check if an user exists. When url of a forge instance is provided, username search is /// done only on that forge async fn user_exists(&self, username: &str, url: Option<&Url>) -> DBResult; diff --git a/federate/publiccodeyml/src/lib.rs b/federate/publiccodeyml/src/lib.rs index ca02e19..573d3c6 100644 --- a/federate/publiccodeyml/src/lib.rs +++ b/federate/publiccodeyml/src/lib.rs @@ -161,7 +161,6 @@ impl Federate for PccFederate { Ok(false) } } - /// create user instance async fn create_user(&self, f: &AddUser<'_>) -> Result<(), Self::Error> { let path = self.get_user_path(f.username, &f.url, true).await?;