Skip to content

Commit 96fb948

Browse files
committed
fix(clippy): Remove unsafe marker in RValue::set_location
1 parent a33fb5c commit 96fb948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rvalue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl<'ctx> RValue<'ctx> {
103103

104104
/// Sets the location of this RValue.
105105
#[cfg(feature="master")]
106-
pub unsafe fn set_location(&self, loc: Location) {
106+
pub fn set_location(&self, loc: Location) {
107107
unsafe {
108108
let loc_ptr = location::get_ptr(&loc);
109109
gccjit_sys::gcc_jit_rvalue_set_location(self.ptr, loc_ptr);

0 commit comments

Comments
 (0)