From e5312509b911764357a186d819a49738b99fe19e Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 26 Sep 2022 11:55:35 +0200 Subject: [PATCH] Add documentation. --- source/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/source/lib.rs b/source/lib.rs index de51510..f47327b 100644 --- a/source/lib.rs +++ b/source/lib.rs @@ -114,6 +114,7 @@ impl Generator { /// Returns all configurable options as a query parameter string. pub fn query_parameters(&self) -> String { + /// Shorthand for [`urlencoding::encode`]. fn encode(data: D) -> String { urlencoding::encode(&data.to_string()).into_owned() }