MCPcopy Create free account
hub / github.com/CSpyridakis/notes / stringify

Method stringify

Rust/notes.rs:1262–1267  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1260 }
1261
1262 fn stringify(&self) -> String {
1263 match *self {
1264 List::Cons(head, ref tail) => format!("{}, {}", head, tail.stringify()),
1265 List::Nil => format!("Nil")
1266 }
1267 }
1268 }
1269
1270 let mut list = List::new();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected