MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / new

Method new

86. Partition List/src/main.rs:32–37  ·  view source on GitHub ↗
(val: i32)

Source from the content-addressed store, hash-verified

30impl ListNode {
31 #[inline]
32 fn new(val: i32) -> Self {
33 ListNode {
34 next: None,
35 val
36 }
37 }
38}
39
40impl Solution {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected