Fix docs link

This commit is contained in:
Laurenz 2025-01-30 16:23:00 +01:00
parent 3862102398
commit 9362c0e63e

View File

@ -17,7 +17,7 @@ struct Repr {
}
impl PixmapImage {
/// Build a new [`Pixmap`] from a flat, uncompressed byte sequence.
/// Builds a new [`PixmapImage`] from a flat, uncompressed byte sequence.
#[comemo::memoize]
#[typst_macros::time(name = "load pixmap")]
pub fn new(source: PixmapSource, format: PixmapFormat) -> StrResult<PixmapImage> {