drop a 'static annotation at toplevel, change name in readme

This commit is contained in:
2020-03-31 17:27:28 -07:00
parent 10aac891cc
commit c206eef5fd
2 changed files with 2 additions and 3 deletions

View File

@@ -1,2 +1 @@
# wablength # spectrum

View File

@@ -8,7 +8,7 @@ use sessions::{Session, SessionStatus, Storable};
use warp::{Filter, Rejection, Reply}; use warp::{Filter, Rejection, Reply};
use warp::http::{StatusCode, Uri}; use warp::http::{StatusCode, Uri};
const SESSION_HEADER: &'static str = "Spectrum-Session"; const SESSION_HEADER: &str = "Spectrum-Session";
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {