identifiers: Remove allow attribute
Seems to no longer be necessary.
This commit is contained in:
parent
59161b842b
commit
1eb2f39593
@ -176,7 +176,6 @@ macro_rules! opaque_identifier {
|
||||
}
|
||||
|
||||
impl $id {
|
||||
#[allow(clippy::transmute_ptr_to_ptr)]
|
||||
fn from_borrowed(s: &str) -> &Self {
|
||||
unsafe { std::mem::transmute(s) }
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ pub struct ServerName(str);
|
||||
pub type ServerNameBox = Box<ServerName>;
|
||||
|
||||
impl ServerName {
|
||||
#[allow(clippy::transmute_ptr_to_ptr)]
|
||||
fn from_borrowed(s: &str) -> &Self {
|
||||
unsafe { mem::transmute(s) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user