Fix two compilation errors at lines 584 and 658 where code was calling .code on &String diagnostics. Replaced d.code.to_string() with direct Vec<String> clone since diagnostics is already Vec<String>. Accepts criteria: - cargo check -p pdftract-cli emits no 'no field code' errors - serve.rs compiles cleanly
9 lines
265 B
Rust
9 lines
265 B
Rust
//! xtask library for pdftract development tasks.
|
|
//!
|
|
//! This library exposes reusable modules for development tasks including
|
|
//! schema migration and other utilities.
|
|
|
|
pub mod migrate;
|
|
|
|
// Re-export the migrate function for convenience
|
|
pub use migrate::migrate;
|