You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert match to if let for Location header check #7969
A-networkC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
We have an instance of match response.headers().get::<Location>() which does nothing in the None branch. This would be cleaner as an if let expression instead.
A-networkC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
Activity
creativcoder commentedon Oct 11, 2015
I'd like to give this a try.
convert match to if let for location header check servo#7969
convert match to if let for location header check servo#7969
Auto merge of #7973 - creativcoder:fix_issue_7969, r=jdm
nox commentedon Oct 12, 2015
#7973