Skip to content

Commit 7ab5341

Browse files
committed
Slience new clippy lints
1 parent 7b12e69 commit 7ab5341

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ascii_string.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ impl Into<Vec<u8>> for AsciiString {
515515
}
516516
}
517517

518+
#[allow(clippy::from_over_into)]
518519
impl Into<Vec<AsciiChar>> for AsciiString {
519520
fn into(self) -> Vec<AsciiChar> {
520521
self.vec
@@ -561,6 +562,7 @@ impl From<AsciiString> for Box<AsciiStr> {
561562
}
562563
}
563564

565+
#[allow(clippy::from_over_into)]
564566
impl Into<Rc<AsciiStr>> for AsciiString {
565567
fn into(self) -> Rc<AsciiStr> {
566568
let var: Rc<[AsciiChar]> = self.vec.into();
@@ -569,6 +571,7 @@ impl Into<Rc<AsciiStr>> for AsciiString {
569571
}
570572
}
571573

574+
#[allow(clippy::from_over_into)]
572575
impl Into<Arc<AsciiStr>> for AsciiString {
573576
fn into(self) -> Arc<AsciiStr> {
574577
let var: Arc<[AsciiChar]> = self.vec.into();

0 commit comments

Comments
 (0)