aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/element.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-01-19 08:33:48 -0700
committerbors-servo <metajack+bors@gmail.com>2015-01-19 08:33:48 -0700
commitee94b3e8bf659c847bda967700272f8f98fdb0cc (patch)
treeb2eb4585705b7b71229647ed2d77289d00474f75 /components/script/dom/element.rs
parentf3dfe04fa45bd723fac40d1452550d55240f80f8 (diff)
parent394f8163433559cea294cb4a4e335cc43ccde1fe (diff)
downloadservo-ee94b3e8bf659c847bda967700272f8f98fdb0cc.tar.gz
servo-ee94b3e8bf659c847bda967700272f8f98fdb0cc.zip
auto merge of #4662 : Ms2ger/servo/overlong, r=larsbergstrom
The Rust style guide suggests 100, but we have too many violations in the tree already. This check can be tightened over time.
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r--components/script/dom/element.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs
index 14f48f5f3b6..0735e19299f 100644
--- a/components/script/dom/element.rs
+++ b/components/script/dom/element.rs
@@ -111,7 +111,9 @@ impl Element {
create_element(name, prefix, document, creator)
}
- pub fn new_inherited(type_id: ElementTypeId, local_name: DOMString, namespace: Namespace, prefix: Option<DOMString>, document: JSRef<Document>) -> Element {
+ pub fn new_inherited(type_id: ElementTypeId, local_name: DOMString,
+ namespace: Namespace, prefix: Option<DOMString>,
+ document: JSRef<Document>) -> Element {
Element {
node: Node::new_inherited(NodeTypeId::Element(type_id), document),
local_name: Atom::from_slice(local_name.as_slice()),