mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Format the code
This commit is contained in:
@@ -18,10 +18,7 @@ pub trait ExifDataSource {
|
||||
}
|
||||
|
||||
impl<T: ExifDataSource> ExifDataSource for std::sync::Arc<T> {
|
||||
call_parent_data_source_fun!(
|
||||
"src/data/exif_data_source.json",
|
||||
**self,
|
||||
);
|
||||
call_parent_data_source_fun!("src/data/exif_data_source.json", **self,);
|
||||
}
|
||||
|
||||
impl<T: ExifDataSource> ExifDataSource for Option<T> {
|
||||
|
||||
@@ -191,7 +191,10 @@ impl Debug for FanboxArticleUrlEmbedMap {
|
||||
fanbox_api_test!(test_html_card, {
|
||||
match client.get_post_info(4135937).await {
|
||||
Some(post) => {
|
||||
assert_eq!(post.title(), Some("第255話 夏の新刊入稿しました!ジュエハキャラバンの話"));
|
||||
assert_eq!(
|
||||
post.title(),
|
||||
Some("第255話 夏の新刊入稿しました!ジュエハキャラバンの話")
|
||||
);
|
||||
assert_eq!(post.creator_id(), Some("shiratamaco"));
|
||||
println!("{:#?}", post);
|
||||
match post.check_unknown() {
|
||||
|
||||
Reference in New Issue
Block a user