Fix compile error. #7
Closed
YinMo19
wants to merge 1 commits from YinMo19/rocket_session:master into master
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'YinMo19/rocket_session:master'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Fix Compile error
Origin compile error:
- Cookie::build(self.config.cookie_name.clone(), session.to_string()) + Cookie::build((self.config.cookie_name.clone(), session.to_string())) - async fn from_request(request: &'r Request<'_>) -> Outcome<Self, (Status, Self::Error), ()> { + async fn from_request(request: &'r Request<'_>) -> Outcome<Self, (Status, Self::Error), Status> {Isn't this the same thing there already is a merge request for? I will try to merge that one soon
Very Sorry, I didn't see it.
I'm using it today, and found it something wrong...