diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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("/") |