Skip to content

Commit ddb416b

Browse files
committed
pango: gir set manual impl for some functions
Functions `itemize()` & `itemize_with_base_dir` now use Into<Option<&_>> for the `cached_dir` argument. Because of this new signature, the lifetime for the inner type `AttrIterator<'_>>` must be specified.
1 parent 8c09634 commit ddb416b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pango/Gir.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,12 @@ status = "generate"
9595
ignore = true
9696
[[object.function]]
9797
name = "itemize"
98-
[[object.function.parameter]]
99-
name = "cached_iter"
100-
const = true
98+
# Needs explicite lifetime for AttrIterator
99+
manual = true
101100
[[object.function]]
102101
name = "itemize_with_base_dir"
103-
[[object.function.parameter]]
104-
name = "cached_iter"
105-
const = true
102+
# Needs explicite lifetime for AttrIterator
103+
manual = true
106104
[[object.function]]
107105
name = "reorder_items"
108106
manual = true

0 commit comments

Comments
 (0)