We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new()
Default
1 parent ae7c860 commit 5bdc026Copy full SHA for 5bdc026
crates/crates_io_og_image/src/lib.rs
@@ -271,9 +271,7 @@ impl Default for OgImageGenerator {
271
/// Creates a default `OgImageGenerator` that assumes the Typst binary is available
272
/// as "typst" in the system PATH.
273
fn default() -> Self {
274
- Self {
275
- typst_binary_path: PathBuf::from("typst"),
276
- }
+ Self::new(PathBuf::from("typst"))
277
}
278
279
0 commit comments