diff --git a/src/encoder.rs b/src/encoder.rs index 2030e98d..ff637968 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -394,7 +394,7 @@ impl<'a, W: Write> Encoder<'a, W> { /// at the end of the delay (before rendering the next frame) /// /// *Note that this parameter can be set for each individual frame after - /// [`write_header`](Self::write_header) is called (see [`Writer::set_dispose_op`])* + /// [`write_header`] is called (see [`Writer::set_dispose_op`])* /// /// See the [`DisposeOp`] documentation for the possible values and their effects. /// @@ -404,7 +404,10 @@ impl<'a, W: Write> Encoder<'a, W> { /// The default value is [`DisposeOp::None`]. /// /// This method will return an error if the image is not animated. - /// (see [`set_animated`](Self::set_animated)) + /// (see [`set_animated`]) + /// + /// [`set_animated`]: Self::set_animated + /// [`write_header`]: Self::write_header pub fn set_dispose_op(&mut self, op: DisposeOp) -> Result<()> { if let Some(ref mut fctl) = self.info.frame_control { fctl.dispose_op = op;