mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fixes dereferencing on an immutable reference (#31864)
This commit is contained in:
parent
585e0d69cd
commit
f7669b5238
32 changed files with 76 additions and 77 deletions
|
@ -443,7 +443,7 @@ fn index_of_last_non_whitespace(value: &ByteString) -> Option<usize> {
|
|||
|
||||
// http://tools.ietf.org/html/rfc7230#section-3.2
|
||||
fn is_field_name(name: &ByteString) -> bool {
|
||||
is_token(&*name)
|
||||
is_token(name)
|
||||
}
|
||||
|
||||
// https://fetch.spec.whatg.org/#concept-header-value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue