From ef958f8cf5b9e90c5f8c1854c071657cf7bd125c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 6 Aug 2024 09:57:06 +0200 Subject: [PATCH] Fix signature of `output_intents` --- src/structure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure.rs b/src/structure.rs index a5def42..68c1c43 100644 --- a/src/structure.rs +++ b/src/structure.rs @@ -133,7 +133,7 @@ impl<'a> Catalog<'a> { /// /// Each entry in the array is an [output intent /// dictionary.](writers::OutputIntent) - pub fn output_intents(&mut self) -> TypedArray<'_, Dict> { + pub fn output_intents(&mut self) -> TypedArray<'_, OutputIntent> { self.insert(Name(b"OutputIntents")).array().typed() } }