Skip to content

Commit

Permalink
deny unsafe op in unsafe fn in all new code
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Sep 28, 2024
1 parent cae7f30 commit f3133ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pgrx/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#![allow(clippy::precedence)]
#![allow(unused)]
#![deny(unsafe_op_in_unsafe_fn)]
use crate::datum::{Array, BorrowDatum, Datum};
use crate::layout::{Align, Layout};
use crate::nullable::Nullable;
Expand Down
1 change: 1 addition & 0 deletions pgrx/src/text.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![deny(unsafe_op_in_unsafe_fn)]
use crate::datum::BorrowDatum;
use crate::layout::PassBy;
use crate::pgrx_sql_entity_graph::metadata::{
Expand Down

0 comments on commit f3133ac

Please sign in to comment.