mirror of
https://github.com/typst/typst
synced 2025-07-27 14:27:56 +08:00
Remove outdated comment
This commit is contained in:
parent
7791162455
commit
62eab1dc9f
@ -63,7 +63,6 @@ impl PdfImage {
|
||||
/// Returns `None` if the page index is not valid.
|
||||
#[comemo::memoize]
|
||||
pub fn new(document: PdfDocument, page: usize) -> Option<PdfImage> {
|
||||
// TODO: Remove Unwrap
|
||||
let dimensions = document.0.pdf.pages().get(page)?.render_dimensions();
|
||||
|
||||
Some(Self(Arc::new(ImageRepr {
|
||||
|
Loading…
x
Reference in New Issue
Block a user