(node: &ast::StmtWhile)
| 1837 | } |
| 1838 | |
| 1839 | fn stmt_while_fields(node: &ast::StmtWhile) -> StmtWhileFields<'_> { |
| 1840 | let ast::StmtWhile { |
| 1841 | test, |
| 1842 | body, |
| 1843 | orelse, |
| 1844 | range: _, |
| 1845 | node_index: _, |
| 1846 | } = node; |
| 1847 | StmtWhileFields { |
| 1848 | test: test.into(), |
| 1849 | body: ComparableSlice::new(body), |
| 1850 | orelse: ComparableSlice::new(orelse), |
| 1851 | } |
| 1852 | } |
| 1853 | |
| 1854 | #[derive(Debug, PartialEq, Eq, Hash)] |
| 1855 | struct StmtIfFields<'a> { |
nothing calls this directly
no outgoing calls
no test coverage detected