aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/utils.rs
diff options
context:
space:
mode:
authorchansuke <chansuke@georepublic.de>2018-09-13 01:01:35 +0900
committerchansuke <chansuke@georepublic.de>2018-09-13 01:01:35 +0900
commit3324b5b82f2e22c3873b2cc6509d4f1d1a51f558 (patch)
tree03db124cfbc6c8bf56e21fc81306f9f20a017737 /components/script_plugins/utils.rs
parent29ba51016b7c2b04d1c9e3d2cd5a2be4e43ff1dc (diff)
downloadservo-3324b5b82f2e22c3873b2cc6509d4f1d1a51f558.tar.gz
servo-3324b5b82f2e22c3873b2cc6509d4f1d1a51f558.zip
Format components/script_plugins
Diffstat (limited to 'components/script_plugins/utils.rs')
-rw-r--r--components/script_plugins/utils.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/script_plugins/utils.rs b/components/script_plugins/utils.rs
index f264a65ea0a..4fd29a4e4b7 100644
--- a/components/script_plugins/utils.rs
+++ b/components/script_plugins/utils.rs
@@ -22,10 +22,11 @@ pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
return false;
}
- other.into_iter()
- .map(|e| e.data)
- .zip(path)
- .all(|(nm, p)| &*nm.as_interned_str().as_str() == *p)
+ other
+ .into_iter()
+ .map(|e| e.data)
+ .zip(path)
+ .all(|(nm, p)| &*nm.as_interned_str().as_str() == *p)
}
pub fn in_derive_expn(span: Span) -> bool {