Skip to content

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/src/api/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl Svix {
7272
/// the cost of TLS initialization.
7373
pub fn with_token(&self, token: String) -> Self {
7474
let base_path = self.server_url.clone().unwrap_or_else(|| {
75-
match token.split('.').last() {
75+
match token.split('.').next_back() {
7676
Some("us") => "https://api.us.svix.com",
7777
Some("eu") => "https://api.eu.svix.com",
7878
Some("in") => "https://api.in.svix.com",

server/svix-server/src/queue/redis.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
//!
1212
//! This implementation uses the following data structures:
1313
//! - A "tasks to be processed" stream - which is what the consumer listens to for tasks.
14-
//! AKA: Main
14+
//! AKA: Main
1515
//! - A ZSET for delayed tasks with the sort order being the time-to-be-delivered
16-
//! AKA: Delayed
16+
//! AKA: Delayed
1717
//!
1818
//! - Tasks in the delayed queue are prefixed with a ksuid so that we can know the timestamp of when
1919
//! they should be executed.

0 commit comments

Comments
 (0)