Remove unnecessary unsafety
This commit is contained in:
parent
32fdbbb474
commit
368fa9d3bf
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue