Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Keep the doc comment of unreadable on unreadable

bflatastic1446b4f5dc47
diff --git a/crates/eps/src/import/ai/read.rs b/crates/eps/src/import/ai/read.rs
index 728f77be4..b018f68af 100644
--- a/crates/eps/src/import/ai/read.rs
+++ b/crates/eps/src/import/ai/read.rs
@@ -865,8 +865,6 @@ impl<'a> Reader<'a> {
self.add(n, hidden)
}
- /// Note something the data has that isn't read: an error on a layer that shows, left out of a
- /// layer that doesn't.
/// Non-native art (`/ForeignObject`): the content of a placed PDF, which Illustrator shows but
/// doesn't edit. Its `/Data` is that PDF (ASCII85 in comment lines, kept by the `,` handler),
/// `/Bounds` the art's box in a space measured from `/Origin` with y down, and `/RTransform`
@@ -955,6 +953,8 @@ impl<'a> Reader<'a> {
}
}
+ /// Note something the data has that isn't read: an error on a layer that shows, left out of a
+ /// layer that doesn't.
fn unreadable(&mut self, what: &str) {
if self.shown() {
self.unsupported.insert(what.into());