(&mut self, docs: &Docs)
| 1397 | } |
| 1398 | |
| 1399 | fn rustdoc(&mut self, docs: &Docs) { |
| 1400 | let docs = match &docs.contents { |
| 1401 | Some(docs) => docs, |
| 1402 | None => return, |
| 1403 | }; |
| 1404 | for line in docs.trim().lines() { |
| 1405 | self.push_str("///"); |
| 1406 | if !line.is_empty() { |
| 1407 | self.push_str(" "); |
| 1408 | self.push_str(line); |
| 1409 | } |
| 1410 | self.push_str("\n"); |
| 1411 | } |
| 1412 | } |
| 1413 | |
| 1414 | fn rustdoc_params(&mut self, docs: &Vec<Param>, header: &str) { |
| 1415 | let _ = (docs, header); |
no test coverage detected