Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Oct 15, 2024
1 parent eb11c72 commit 8286b64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyqir/src/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ impl Value {
fn set_name(&self, value: &str) {
unsafe {
let c_name = &CString::new(value).unwrap();
LLVMSetValueName2(self.as_ptr(), value.as_ptr().cast(), c_name.as_bytes().len());
LLVMSetValueName2(
self.as_ptr(),
value.as_ptr().cast(),
c_name.as_bytes().len(),
);
}
}

Expand Down

0 comments on commit 8286b64

Please sign in to comment.