summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/expectations/tests/libclang-3.9/objc_inheritance.rs15
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/expectations/tests/libclang-3.9/objc_inheritance.rs b/tests/expectations/tests/libclang-3.9/objc_inheritance.rs
index 982fc14c..76b758ec 100644
--- a/tests/expectations/tests/libclang-3.9/objc_inheritance.rs
+++ b/tests/expectations/tests/libclang-3.9/objc_inheritance.rs
@@ -44,16 +44,11 @@ impl Bar {
}
impl IFoo for Bar {}
-mpl From<Bar> for Foo {
-
-+ fn from(child: Bar) -> Foo {
-
-+ Foo(child.0)
-
-+ }
-
-+}
-
+impl From<Bar> for Foo {
+ fn from(child: Bar) -> Foo {
+ Foo(child.0)
+ }
+}
impl std::convert::TryFrom<Foo> for Bar {
type Error = String;
fn try_from(parent: Foo) -> Result<Bar, Self::Error> {