diff options
| author | Fuwn <[email protected]> | 2026-01-12 05:56:09 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-12 05:56:09 -0800 |
| commit | cb6df8c2749d8d3b88342398f3e5c13457206a2f (patch) | |
| tree | a56230a03f370f6b263db469d5e74e5786e3a7cb /src/response.rs | |
| parent | feat(directory): Sort routes by hits (diff) | |
| download | locus-cb6df8c2749d8d3b88342398f3e5c13457206a2f.tar.xz locus-cb6df8c2749d8d3b88342398f3e5c13457206a2f.zip | |
fix: Various optimisations
Diffstat (limited to 'src/response.rs')
| -rw-r--r-- | src/response.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.rs b/src/response.rs index b07a9ad..9c1cc69 100644 --- a/src/response.rs +++ b/src/response.rs @@ -27,7 +27,7 @@ pub fn success( quote: { use rand::prelude::SliceRandom; - "ES.choose(&mut rand::thread_rng()).unwrap().to_string() + QUOTES.choose(&mut rand::thread_rng()).unwrap() }, commit: &format!("/tree/{}", env!("VERGEN_GIT_SHA")), mini_commit: env!("VERGEN_GIT_SHA").get(0..5).unwrap_or("UNKNOWN"), |