mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
style: Miscellaneous Servo build fixes.
This commit is contained in:
parent
18cda1567a
commit
e227715aee
12 changed files with 59 additions and 10 deletions
|
@ -168,8 +168,9 @@ pub enum GenericContent<ImageUrl> {
|
|||
pub use self::GenericContent as Content;
|
||||
|
||||
impl<ImageUrl> Content<ImageUrl> {
|
||||
/// Whether `self` represents list of items.
|
||||
#[inline]
|
||||
pub(crate) fn is_items(&self) -> bool {
|
||||
pub fn is_items(&self) -> bool {
|
||||
matches!(*self, Self::Items(..))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue