about summary refs log tree commit diff
path: root/src/webmentions
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-01-29 07:08:21 +0300
committerVika <vika@fireburn.ru>2024-01-29 07:08:21 +0300
commitd36014200549cf73a7f22c6f94fb15bec17823e8 (patch)
tree6e56f912219c5d20e2768b1f016f23fff22fe83e /src/webmentions
parented51d48f7353a5ceefa798ded52d3af465d4d0ec (diff)
downloadkittybox-d36014200549cf73a7f22c6f94fb15bec17823e8.tar.zst
lint: no extra whitespace on line endings
Diffstat (limited to 'src/webmentions')
-rw-r--r--src/webmentions/check.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webmentions/check.rs b/src/webmentions/check.rs
index f7322f7..6dc6a25 100644
--- a/src/webmentions/check.rs
+++ b/src/webmentions/check.rs
@@ -90,7 +90,7 @@ pub fn check_mention(document: impl AsRef<str> + std::fmt::Debug, base_url: &url
                                     continue 'nodes_loop;
                                 }
                             }
-                            // if it's not `<a href="...">`, skip it 
+                            // if it's not `<a href="...">`, skip it
                             if attr.name.local != *"href" { continue; }
                             // Be forgiving in parsing URLs, and resolve them against the base URL
                             if let Ok(url) = base_url.join(attr.value.as_ref()) {
@@ -105,7 +105,7 @@ pub fn check_mention(document: impl AsRef<str> + std::fmt::Debug, base_url: &url
                     }
                 }
             }
-            
+
         }
     }