~matthiasbeyer/imag

6a921ef3e20ff863985f63eb3ee322e09230d47a — Matthias Beyer 1 year, 18 days ago cb9f6e7
Fix clippy warning: next() instead of nth(0)

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/core/libimagrt/src/configuration.rs
M lib/core/libimagrt/src/configuration.rs => lib/core/libimagrt/src/configuration.rs +1 -1
@@ 95,7 95,7 @@ pub fn fetch_config(searchpath: &PathBuf) -> Result<Option<Value>> {
                    None
                })
        })
        .nth(0);
        .next();

    Ok(config)
}