fix clippy

This commit is contained in:
Felix Ableitner 2024-02-28 15:54:34 +01:00
parent d16e3d3447
commit 4cab67e063
3 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,7 @@ mod test {
creator: DbPerson { creator: DbPerson {
id: 0, id: 0,
username: "".to_string(), username: "".to_string(),
ap_id: ObjectId::parse("http://example.com").unwrap(), ap_id: ObjectId::parse("http://example.com")?,
inbox_url: "".to_string(), inbox_url: "".to_string(),
public_key: "".to_string(), public_key: "".to_string(),
private_key: None, private_key: None,

View File

@ -1,3 +1,5 @@
#![allow(clippy::unwrap_used)]
use ibis_lib::backend::config::{IbisConfig, IbisConfigDatabase, IbisConfigFederation}; use ibis_lib::backend::config::{IbisConfig, IbisConfigDatabase, IbisConfigFederation};
use ibis_lib::backend::start; use ibis_lib::backend::start;
use ibis_lib::common::RegisterUserData; use ibis_lib::common::RegisterUserData;

View File

@ -1,3 +1,5 @@
#![allow(clippy::unwrap_used)]
extern crate ibis_lib; extern crate ibis_lib;
mod common; mod common;