mirror of
https://github.com/typst/typst
synced 2025-08-12 22:27:56 +08:00
Fix docs link
This commit is contained in:
parent
3862102398
commit
9362c0e63e
@ -17,7 +17,7 @@ struct Repr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl PixmapImage {
|
impl PixmapImage {
|
||||||
/// Build a new [`Pixmap`] from a flat, uncompressed byte sequence.
|
/// Builds a new [`PixmapImage`] from a flat, uncompressed byte sequence.
|
||||||
#[comemo::memoize]
|
#[comemo::memoize]
|
||||||
#[typst_macros::time(name = "load pixmap")]
|
#[typst_macros::time(name = "load pixmap")]
|
||||||
pub fn new(source: PixmapSource, format: PixmapFormat) -> StrResult<PixmapImage> {
|
pub fn new(source: PixmapSource, format: PixmapFormat) -> StrResult<PixmapImage> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user