(&mut self, s: &T)
| 96 | W: fmt::Write, |
| 97 | { |
| 98 | pub fn write_node<T: AstDisplay>(&mut self, s: &T) { |
| 99 | s.fmt(self); |
| 100 | } |
| 101 | |
| 102 | // TODO(justin): make this only accept a &str so that we don't accidentally pass an AstDisplay |
| 103 | // to it. |
no test coverage detected