aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorProgramFOX <programfox@hotmail.be>2014-09-26 20:35:01 +0200
committerProgramFOX <programfox@hotmail.be>2014-09-26 20:35:01 +0200
commit71a05a9c397a012a959718a7b00e4cd0ce58b359 (patch)
treebdc92e93cbe6df29d28d8f013fc5691b52f24b78 /components/script/dom/htmlcollection.rs
parentab17d31bbf8c6884f858381f3d5b7e62c4de87c6 (diff)
downloadservo-71a05a9c397a012a959718a7b00e4cd0ce58b359.tar.gz
servo-71a05a9c397a012a959718a7b00e4cd0ce58b359.zip
Made some DOM fields private.
Relevant to #2242.
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs
index befecda4e11..857dbb2ef5d 100644
--- a/components/script/dom/htmlcollection.rs
+++ b/components/script/dom/htmlcollection.rs
@@ -37,7 +37,7 @@ pub struct HTMLCollection {
}
impl HTMLCollection {
- pub fn new_inherited(collection: CollectionTypeId) -> HTMLCollection {
+ fn new_inherited(collection: CollectionTypeId) -> HTMLCollection {
HTMLCollection {
collection: collection,
reflector_: Reflector::new(),