diff --git a/src/ketos/structs.rs b/src/ketos/structs.rs index 1111e68d9..f2c126927 100644 --- a/src/ketos/structs.rs +++ b/src/ketos/structs.rs @@ -113,7 +113,7 @@ impl ForeignStructDef { fn get_rc(&self, value: Value) -> Rc { match value { Value::Foreign(fv) => { - ForeignValue::downcast_rc::(fv) + ::downcast_rc::(fv) .expect("invalid foreign value for ForeignStructDef") } _ => panic!("invalid value for ForeignStructDef")