From dafc79f481366f3254c13efaf101c79e018d7e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 18 Oct 2019 16:28:15 -0400 Subject: [PATCH] feat(get): get::info -> get::entry BREAKING CHANGE: This renames get::info to get::entry for better symmetry with rm --- src/get.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/get.rs b/src/get.rs index 0e2571c..a773517 100644 --- a/src/get.rs +++ b/src/get.rs @@ -247,7 +247,7 @@ where } /// Gets entry information and metadata for a certain key. -pub async fn info(cache: P, key: K) -> Result, Error> +pub async fn entry(cache: P, key: K) -> Result, Error> where P: AsRef, K: AsRef, @@ -439,7 +439,7 @@ where } /// Gets entry information and metadata for a certain key. -pub fn info_sync(cache: P, key: K) -> Result, Error> +pub fn entry_sync(cache: P, key: K) -> Result, Error> where P: AsRef, K: AsRef,