diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-11-09 14:12:18 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-11-09 14:12:18 +0100 |
| commit | 2efc5f9444402c5ef9db25887f2e95d184af8e05 (patch) | |
| tree | 07f317780bdbe87d633e5340fe87bc604484730d /import/src/wikimedia_commons.rs | |
| parent | 6032bfd0fa7cfd10d1bc17e44f91a789aa86efad (diff) | |
| download | jellything-2efc5f9444402c5ef9db25887f2e95d184af8e05.tar jellything-2efc5f9444402c5ef9db25887f2e95d184af8e05.tar.bz2 jellything-2efc5f9444402c5ef9db25887f2e95d184af8e05.tar.zst | |
upgrade deps + clippy
Diffstat (limited to 'import/src/wikimedia_commons.rs')
| -rw-r--r-- | import/src/wikimedia_commons.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/import/src/wikimedia_commons.rs b/import/src/wikimedia_commons.rs index a5889fb..f8d8f53 100644 --- a/import/src/wikimedia_commons.rs +++ b/import/src/wikimedia_commons.rs @@ -17,6 +17,12 @@ use tokio::io::AsyncWriteExt; pub struct WikimediaCommons { client: Client, } +impl Default for WikimediaCommons { + fn default() -> Self { + Self::new() + } +} + impl WikimediaCommons { pub fn new() -> Self { let client = ClientBuilder::new() |