diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-04 02:22:18 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-04 02:22:18 +0100 |
| commit | 36a5c232b1f5d86bf97e29af987862732556ee07 (patch) | |
| tree | 1e40f935e792736b2344ce6938afe0de161a67dc | |
| parent | 8766e4412b95cfa0288683748cc20aba81a64d08 (diff) | |
Reformat
| -rw-r--r-- | Cargo.toml | 3 | ||||
| -rw-r--r-- | src/file_handler/file_strategies/gemini.rs | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -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" diff --git a/src/file_handler/file_strategies/gemini.rs b/src/file_handler/file_strategies/gemini.rs index df35d64..6cfb94d 100644 --- a/src/file_handler/file_strategies/gemini.rs +++ b/src/file_handler/file_strategies/gemini.rs @@ -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?" ); } |