Fix clippy findings

This commit is contained in:
Simon Goller 2024-06-06 08:08:30 +02:00
parent 99b9d85e47
commit 91559224e5
4 changed files with 22 additions and 13 deletions

View file

@ -6,6 +6,11 @@ use mockall::automock;
use crate::ServiceError;
/// For mocking the context locally since there is actually
/// no context.
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct MockContext;
#[derive(Debug, PartialEq, Eq)]
pub struct User {
pub name: Arc<str>,