Skip to content

Commit 0495f87

Browse files
fix
Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent fb5f251 commit 0495f87

7 files changed

+24
-5
lines changed

glide-core/src/client/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/**
1+
/*
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
4+
5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
47
mod types;
58

69
use crate::scripts_container::get_script;

glide-core/src/client/reconnecting_connection.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/**
1+
/*
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
4+
5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
47
use super::{NodeAddress, TlsMode};
58
use crate::retry_strategies::RetryStrategy;
69
use futures_intrusive::sync::ManualResetEvent;

glide-core/src/client/standalone_client.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/**
1+
/*
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
4+
5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
47
use super::get_redis_connection_info;
58
use super::reconnecting_connection::ReconnectingConnection;
69
use super::{ConnectionRequest, NodeAddress, TlsMode};

glide-core/src/client/types.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
44

5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
57
use std::time::Duration;
68

79
#[cfg(feature = "socket-layer")]

glide-core/src/client/value_conversion.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/**
1+
/*
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
4+
5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
47
use redis::{
58
cluster_routing::Routable, from_owned_redis_value, Cmd, ErrorKind, RedisResult, Value,
69
};

glide-core/src/errors.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
44

5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
57
use redis::RedisError;
68

79
#[repr(C)]

glide-core/src/request_type.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/**
1+
/*
22
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
33
*/
4+
5+
#![deny(unsafe_op_in_unsafe_fn)]
6+
47
use redis::{cmd, Cmd};
58

69
#[cfg(feature = "socket-layer")]

0 commit comments

Comments
 (0)