mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-24 03:31:09 +00:00
fix clippy
This commit is contained in:
parent
d16e3d3447
commit
4cab67e063
3 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#![allow(clippy::unwrap_used)]
|
||||||
|
|
||||||
extern crate ibis_lib;
|
extern crate ibis_lib;
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
|
|
Loading…
Reference in a new issue