Ignorer lints som ikke trengs
This commit is contained in:
parent
c09ac53fef
commit
d06e49bcd7
3 changed files with 32 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ pub struct ListNode {
|
|||
|
||||
impl ListNode {
|
||||
#[inline]
|
||||
#[allow(dead_code)]
|
||||
fn new(val: i32) -> Self {
|
||||
ListNode { next: None, val }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue