@@ -14,7 +14,7 @@ writer!(Action: |obj| {
1414 Self { dict }
1515} ) ;
1616
17- impl < ' a > Action < ' a > {
17+ impl Action < ' _ > {
1818 /// Write the `/S` attribute to set the action type.
1919 pub fn action_type ( & mut self , kind : ActionType ) -> & mut Self {
2020 self . pair ( Name ( b"S" ) , kind. to_name ( ) ) ;
@@ -147,7 +147,7 @@ pub struct Fields<'a> {
147147
148148writer ! ( Fields : |obj| Self { array: obj. array( ) } ) ;
149149
150- impl < ' a > Fields < ' a > {
150+ impl Fields < ' _ > {
151151 /// The indirect reference to the field.
152152 pub fn id ( & mut self , id : Ref ) -> & mut Self {
153153 self . array . item ( id) ;
@@ -299,7 +299,7 @@ pub struct AdditionalActions<'a> {
299299writer ! ( AdditionalActions : |obj| Self { dict: obj. dict( ) } ) ;
300300
301301/// Only permissible for [annotations](Annotation).
302- impl < ' a > AdditionalActions < ' a > {
302+ impl AdditionalActions < ' _ > {
303303 /// Start writing the `/E` dictionary. An action that shall be performed
304304 /// when the cursor enters the annotation's active area. Only permissible
305305 /// for annotations. PDF 1.2+.
@@ -360,7 +360,7 @@ impl<'a> AdditionalActions<'a> {
360360
361361/// Only permissible for [widget](crate::types::AnnotationType::Widget)
362362/// [annotations](Annotation).
363- impl < ' a > AdditionalActions < ' a > {
363+ impl AdditionalActions < ' _ > {
364364 /// Start writing the `/Fo` dictionary. This sets the action that shall be
365365 /// performed when the annotation receives the input focus. Only permissible
366366 /// for widget annotations. PDF 1.2+.
@@ -377,7 +377,7 @@ impl<'a> AdditionalActions<'a> {
377377}
378378
379379/// Only permissible for [page objects](Page).
380- impl < ' a > AdditionalActions < ' a > {
380+ impl AdditionalActions < ' _ > {
381381 /// Start writing the `/O` dictionary. This sets the action that shall be
382382 /// performed when the page is opened. This action is independent of any
383383 /// that may be defined by the open action entry in the
@@ -397,7 +397,7 @@ impl<'a> AdditionalActions<'a> {
397397}
398398
399399/// Only permisible for form fields.
400- impl < ' a > AdditionalActions < ' a > {
400+ impl AdditionalActions < ' _ > {
401401 /// Start writing the `/K` dictionary. This sets the JavaScript action that
402402 /// shall be performed when the user modifies a character in a text field
403403 /// or combo box or modifies the selection in a scrollable list box. This
@@ -434,7 +434,7 @@ impl<'a> AdditionalActions<'a> {
434434}
435435
436436/// Only permisible for [document catalog](Catalog).
437- impl < ' a > AdditionalActions < ' a > {
437+ impl AdditionalActions < ' _ > {
438438 /// Start writing the `/WC` dictionary. This sets the JavaScript action
439439 /// that shall be performed before closing a document. Only permissible for
440440 /// the [document catalog](Catalog) PDF 1.4+.
0 commit comments