rusty-diceware

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0d91617cc5db7d22a012f7c6abe1aa2c51b144a1
parent f48e7c4674ccf20da869d4788755b263da404a34
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date:   Fri,  9 Sep 2022 15:18:38 +0300

Remove vestigial naming used when we were stupidly overusing the type system.

Diffstat:
Mbuild.rs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.rs b/build.rs @@ -83,7 +83,7 @@ fn make_minilock_wordlist(contents: &str) -> std::string::String { fn build_wordlist( wordlist_filename: &str, destination_file: &mut File, - make_wordlist_struct: &dyn Fn(&str) -> String, + make_wordlist: &dyn Fn(&str) -> String, ) { let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap(); println!("{}", manifest_dir); @@ -96,7 +96,7 @@ fn build_wordlist( wordlist_file.read_to_string(&mut wordlist_string).unwrap(); destination_file - .write_all(make_wordlist_struct(&wordlist_string).as_bytes()) + .write_all(make_wordlist(&wordlist_string).as_bytes()) .unwrap(); }