mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
remove rarely used is_token
method from ByteString
This commit is contained in:
parent
90c7b78b12
commit
3af3926d63
2 changed files with 3 additions and 9 deletions
|
@ -49,12 +49,6 @@ impl ByteString {
|
|||
ByteString::new(self.0.to_ascii_lowercase())
|
||||
}
|
||||
|
||||
/// Returns whether `self` is a `token`, as defined by
|
||||
/// [RFC 2616](http://tools.ietf.org/html/rfc2616#page-17).
|
||||
pub fn is_token(&self) -> bool {
|
||||
is_token(&self.0)
|
||||
}
|
||||
|
||||
/// Returns whether `self` is a `field-value`, as defined by
|
||||
/// [RFC 2616](http://tools.ietf.org/html/rfc2616#page-32).
|
||||
pub fn is_field_value(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue