1
0
Fork 0

Remove unnecessary unsafety

This commit is contained in:
John Ericson 2015-09-04 11:40:32 -07:00 committed by edef
parent 32fdbbb474
commit 368fa9d3bf
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ mod imp {
pub struct StackId; pub struct StackId;
/// No-op since no valgrind /// No-op since no valgrind
impl StackId { impl StackId {
pub unsafe fn register<Stack: stack::Stack>(_stack: &mut Stack) -> StackId { pub fn register<Stack: stack::Stack>(_stack: &mut Stack) -> StackId {
StackId StackId
} }
} }