mirror of
https://github.com/servo/servo.git
synced 2025-08-18 20:05:34 +01:00
style: Inline some trivial bits.
Bug: 1466963 Reviewed-by: xidorn MozReview-Commit-ID: A219QehiMqZ
This commit is contained in:
parent
255fe05d40
commit
9c51d31b05
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@ use context::QuirksMode;
|
|||
use gecko_bindings::structs::nsCompatibility;
|
||||
|
||||
impl From<nsCompatibility> for QuirksMode {
|
||||
#[inline]
|
||||
fn from(mode: nsCompatibility) -> QuirksMode {
|
||||
match mode {
|
||||
nsCompatibility::eCompatibility_FullStandards => QuirksMode::NoQuirks,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue