mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
resolve merge conflicts
This commit is contained in:
commit
46866c4320
2 changed files with 213 additions and 157 deletions
|
|
@ -84,7 +84,7 @@ impl FileOptions {
|
|||
// discard any I/O errors
|
||||
.filter_map(|line| line.ok())
|
||||
// filter out comment lines
|
||||
.filter(|line| !line.trim_start().starts_with("#"))
|
||||
.filter(|line| !line.trim_start().starts_with('#'))
|
||||
.for_each(|line| {
|
||||
// split line at colon
|
||||
let parts = line.splitn(2, ':').collect::<Vec<_>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue