]> git.r.bdr.sh - rbdr/page/commitdiff
Reformat
authorRuben Beltran del Rio <redacted>
Sat, 4 Jan 2025 01:22:18 +0000 (02:22 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 4 Jan 2025 01:22:18 +0000 (02:22 +0100)
Cargo.toml
src/file_handler/file_strategies/gemini.rs

index 31709bc05844f005a90e279609f5c38a5c4a991a..5ce01024119848ab93b63a4cd0aff1be74d25531 100644 (file)
@@ -28,3 +28,6 @@ assets = [
     ["target/release/page", "/usr/bin/page", "755" ],
     ["man/page.1", "/usr/share/man/man1/page.1", "644" ],
 ]
+
+[lints.clippy]
+pedantic = "warn"
index df35d6443a34b8ad2388a5a0a15654dda67088c2..6cfb94d4d08b60162a37ff03266ef7c99a181160 100644 (file)
@@ -154,9 +154,7 @@ mod tests {
     #[test]
     fn extracts_description() {
         assert_eq!(
-            Strategy
-                ::get_description("--- description: What is this?")
-                .trim(),
+            Strategy::get_description("--- description: What is this?").trim(),
             "What is this?"
         );
     }