Format the code

This commit is contained in:
2022-09-18 07:37:27 +00:00
committed by GitHub
parent 4a0bcf394e
commit 4d587b459e
4 changed files with 28 additions and 13 deletions

View File

@@ -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> {

View File

@@ -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() {