drop a 'static annotation at toplevel, change name in readme
This commit is contained in:
@@ -8,7 +8,7 @@ use sessions::{Session, SessionStatus, Storable};
|
||||
use warp::{Filter, Rejection, Reply};
|
||||
use warp::http::{StatusCode, Uri};
|
||||
|
||||
const SESSION_HEADER: &'static str = "Spectrum-Session";
|
||||
const SESSION_HEADER: &str = "Spectrum-Session";
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
||||
Reference in New Issue
Block a user