summaryrefslogtreecommitdiff
path: root/ecs/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r--ecs/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs
index 2c653ee..254ee12 100644
--- a/ecs/src/lib.rs
+++ b/ecs/src/lib.rs
@@ -618,7 +618,7 @@ pub struct EntityComponentRef<'a>
impl<'a> EntityComponentRef<'a>
{
- pub fn component(&self) -> &'a Lock<Box<dyn Component>>
+ fn component(&self) -> &'a Lock<Box<dyn Component>>
{
self.comp.component()
}