From 368fa9d3bf77fa5e6c1f277bf5d64beeea56519b Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 4 Sep 2015 11:40:32 -0700 Subject: [PATCH] Remove unnecessary unsafety --- src/debug/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/mod.rs b/src/debug/mod.rs index 91315af..ba0d703 100644 --- a/src/debug/mod.rs +++ b/src/debug/mod.rs @@ -14,7 +14,7 @@ mod imp { pub struct StackId; /// No-op since no valgrind impl StackId { - pub unsafe fn register(_stack: &mut Stack) -> StackId { + pub fn register(_stack: &mut Stack) -> StackId { StackId } }