mirror of
https://github.com/telemt/telemt.git
synced 2026-07-03 00:01:10 +03:00
Rustfmt
This commit is contained in:
@@ -381,7 +381,9 @@ fn header_belongs_to(header: &str, table_name: &str) -> bool {
|
||||
};
|
||||
let body = body.trim();
|
||||
body == table_name
|
||||
|| body.strip_prefix(table_name).is_some_and(|rest| rest.starts_with('.'))
|
||||
|| body
|
||||
.strip_prefix(table_name)
|
||||
.is_some_and(|rest| rest.starts_with('.'))
|
||||
}
|
||||
|
||||
/// Locate the first contiguous byte range covering `table_name` and the nested
|
||||
|
||||
Reference in New Issue
Block a user