From f6350622992c654f14e81d2110c04229fa18d06c Mon Sep 17 00:00:00 2001 From: Bauke Date: Sat, 2 Apr 2022 22:18:27 +0200 Subject: [PATCH] Make Generator non_exhaustive. --- source/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/source/lib.rs b/source/lib.rs index b99cb88..de51510 100644 --- a/source/lib.rs +++ b/source/lib.rs @@ -29,6 +29,7 @@ /// A generator for Gravatar image URLs. #[derive(Debug)] +#[non_exhaustive] pub struct Generator { /// The base URL for images, defaults to `www.gravatar.com`. pub base_url: String,