Skip to content

Commit

Permalink
chore: Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan committed May 29, 2024
1 parent 1f544e6 commit 3c6f14d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bsky-sdk/src/agent/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Default for Config {
}

#[async_trait]
pub trait Loader: Sized {
pub trait Loader {
async fn load(
&self,
) -> core::result::Result<Config, Box<dyn std::error::Error + Send + Sync + 'static>>;
Expand Down
11 changes: 3 additions & 8 deletions bsky-sdk/src/moderation/decision.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
use crate::moderation::BehaviorValue;

use super::types::{
ContentListBehavior, ContentMediaBehavior, ContentViewBehavior,
InterpretedLabelValueDefinition, LabelPreference, LabelValueDefinitionFlag, ModerationBehavior,
ModerationCause, ModerationCauseLabel, ModerationCauseSource, ProfileViewBehavior,
};
use super::types::*;
use super::{labels::KnownLabelValue, ui::ModerationUi, Moderator};
use atrium_api::{com::atproto::label::defs::Label, types::string::Did};
use atrium_api::com::atproto::label::defs::Label;
use atrium_api::types::string::Did;

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum DecisionContext {
Expand Down

0 comments on commit 3c6f14d

Please sign in to comment.