Last active
November 4, 2022 13:43
-
-
Save adetaylor/5e3ee31e761f1a7e1fa10e47767cc3d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let json_decode_result = decode_some_hypothetical_json(); | |
let mut site_descriptions = Vec::new(); | |
// Convert JSON site descriptions into rendered site descriptions | |
site_descriptions.extend( | |
get_json_list_items(&json_decode_result).map(convert_json_to_site_description), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment