aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.rs b/src/api.rs
index b0b89cf..106676a 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -32,7 +32,7 @@ use crate::station::{
};
use crate::error::ApiResult;
-const API_BASE: &'static str = "https://oslobysykkel.no/api/v1";
+const API_BASE: &str = "https://oslobysykkel.no/api/v1";
fn url_for(endpoint: &str) -> String {
[API_BASE, endpoint].join("/")