Recognize mutable slice in return position of a safe function
diff --git a/syntax/check.rs b/syntax/check.rs
index 10025ac..bab2dec 100644
--- a/syntax/check.rs
+++ b/syntax/check.rs
@@ -514,6 +514,7 @@
 
     match &efn.ret {
         Some(Type::Ref(ty)) if ty.mutable => {}
+        Some(Type::SliceRef(slice)) if slice.mutable => {}
         _ => return,
     }