Skip to content

Commit

Permalink
Keep using the separate link specification syntax to minimize changes…
Browse files Browse the repository at this point in the history
… to documentation
  • Loading branch information
Shnatsel authored and kornelski committed Sep 26, 2024
1 parent e45e923 commit 53aaa9e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand All @@ -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;
Expand Down

0 comments on commit 53aaa9e

Please sign in to comment.