(content: &str)
| 1177 | } |
| 1178 | |
| 1179 | fn is_gutter_span(content: &str) -> bool { |
| 1180 | let mut has_border = false; |
| 1181 | for ch in content.chars() { |
| 1182 | match ch { |
| 1183 | '│' | '┃' => has_border = true, |
| 1184 | ' ' => {} |
| 1185 | _ => return false, |
| 1186 | } |
| 1187 | } |
| 1188 | has_border |
| 1189 | } |
| 1190 | |
| 1191 | fn point_in_optional_rect(area: Option<Rect>, col: u16, row: u16) -> bool { |
| 1192 | let Some(area) = area else { |
no outgoing calls
no test coverage detected