Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Sep 27, 2024
1 parent fa253d1 commit 02c3293
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
5 changes: 1 addition & 4 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use url::Url;

use crate::{
feed::Feed,
ConfigError, Error, Result,
};
use crate::{feed::Feed, ConfigError, Error, Result};

use self::cache::{Response, ResponseCache};

Expand Down
6 changes: 1 addition & 5 deletions src/filter/highlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ use schemars::JsonSchema;
use scraper::{Html, Node};
use serde::{Deserialize, Serialize};

use crate::{
feed::Feed,
html::fragment_root_node_id,
ConfigError, Result,
};
use crate::{feed::Feed, html::fragment_root_node_id, ConfigError, Result};

#[derive(
JsonSchema, Serialize, Deserialize, Clone, Debug, PartialEq, Eq, Hash,
Expand Down
2 changes: 1 addition & 1 deletion src/filter/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ use scraper::{ElementRef, Html, Selector};
use serde::{Deserialize, Serialize};

use crate::feed::Post;
use crate::{Error, Result};
use crate::{feed::Feed, ConfigError};
use crate::{Error, Result};

use super::{FeedFilter, FeedFilterConfig, FilterContext};

Expand Down
2 changes: 1 addition & 1 deletion src/filter/image_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use tracing::warn;
use url::Url;

use super::{FeedFilter, FeedFilterConfig, FilterContext};
use crate::{feed::Feed, Error, ConfigError, Result};
use crate::{feed::Feed, ConfigError, Error, Result};

const IMAGE_PROXY_ROUTE: &str = "/_image";

Expand Down

0 comments on commit 02c3293

Please sign in to comment.