diff options
| author | Fuwn <[email protected]> | 2023-04-16 21:15:12 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-16 21:15:12 -0700 |
| commit | c7adc5f014d4635c8468a863a124ddce4a9fe0e7 (patch) | |
| tree | 2f5a8aafdbf3fa0712d01ecb95ccd10eb691fd10 /src/modules/interests.rs | |
| parent | fix(amenadiel): modules macro unwrap on none (diff) | |
| download | locus-c7adc5f014d4635c8468a863a124ddce4a9fe0e7.tar.xz locus-c7adc5f014d4635c8468a863a124ddce4a9fe0e7.zip | |
refactor(response): rewrite unnecessary macro to function
Diffstat (limited to 'src/modules/interests.rs')
| -rw-r--r-- | src/modules/interests.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/interests.rs b/src/modules/interests.rs index 6762e55..90d96eb 100644 --- a/src/modules/interests.rs +++ b/src/modules/interests.rs @@ -51,13 +51,13 @@ pub fn module(router: &mut windmark::Router) { "/interests", "A Few Interests of Fuwn", move |context| { - crate::success!( - format!( + crate::response::success( + &format!( "# Interests\n\nA collection of things that I think are pretty neat \ and I am considering using more in the future.\n\n{}", contacts.join("\n") ), - context + &context ) }, ); |