diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-03-23 16:37:40 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-03-24 13:30:29 +0100 |
commit | 6a921ef3e20ff863985f63eb3ee322e09230d47a (patch) | |
tree | 67a73cbb9698728e7f2b5849117ab2243d99f4de | |
parent | cb9f6e7f46eb1a05071947d5f28bb1fe45313734 (diff) |
Fix clippy warning: next() instead of nth(0)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | lib/core/libimagrt/src/configuration.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/libimagrt/src/configuration.rs b/lib/core/libimagrt/src/configuration.rs index 7de02eb3..6fa47d6a 100644 --- a/lib/core/libimagrt/src/configuration.rs +++ b/lib/core/libimagrt/src/configuration.rs @@ -95,7 +95,7 @@ pub fn fetch_config(searchpath: &PathBuf) -> Result<Option<Value>> { None }) }) - .nth(0); + .next(); Ok(config) } |