From 5271c8503199ea6e14f298743b28f2262a7e216a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Nov 2018 02:44:48 -0500 Subject: rename paths to util, and add more stuff to it --- src/lastfm/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lastfm/mod.rs') diff --git a/src/lastfm/mod.rs b/src/lastfm/mod.rs index b5888cc..081038a 100644 --- a/src/lastfm/mod.rs +++ b/src/lastfm/mod.rs @@ -1,4 +1,4 @@ -use paths; +use util; use failure::Fail; use std::io::{Read, Write}; @@ -158,7 +158,7 @@ impl LastFMClient { } fn find_api_key() -> failure::Fallible { - let api_key_path = paths::api_key_path() + let api_key_path = util::api_key_path() .map_err(|e| e.context("failed to determine api key path"))?; let api_key = if api_key_path.exists() { let mut api_key = String::new(); -- cgit v1.2.3-54-g00ecf