mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
pass args by ref
This commit is contained in:
1 parent
d6e95c51c0
commit
9c4d376bec
43 files changed
+97
-101
No files matched your search
@@ -51,7 +51,7 @@ pub type ListId = SmallString<[u8; 16]>;
|
||||
pub type ConnId = SmallString<[u8; 16]>;
|
||||
|
||||
impl crate::Service for Service {
|
||||
fn build(args: crate::Args<'_>) -> Result<Arc<Self>> {
|
||||
fn build(args: &crate::Args<'_>) -> Result<Arc<Self>> {
|
||||
Ok(Arc::new(Self {
|
||||
db: Data {
|
||||
todeviceid_events: args.db["todeviceid_events"].clone(),
|
||||
|
||||
Reference in new issue
Block a user