when using macros!() we need to import the things that they use

This commit is contained in:
Igor Galić
2020-01-27 23:45:09 +01:00
parent 45c335e17b
commit 022e037eea
6 changed files with 12 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ use rocket_i18n::I18n;
use scheduled_thread_pool::ScheduledThreadPool;
use serde_json;
use std::str::FromStr;
use std::path::PathBuf;
use validator::{Validate, ValidationErrors};
use crate::inbox;
+1 -1
View File
@@ -11,7 +11,7 @@ use std::{
use validator::{Validate, ValidationError, ValidationErrors};
use crate::routes::{
comments::NewCommentForm, errors::ErrorPage, ContentLen, RemoteForm, RespondOrRedirect,
comments::NewCommentForm, errors::ErrorPage, Page, ContentLen, RemoteForm, RespondOrRedirect,
};
use crate::template_utils::{IntoContext, Ructe};
use plume_common::activity_pub::{broadcast, ActivityStream, ApRequest};