arlyon / async-stripe

Async (and blocking!) Rust bindings for the Stripe API
https://payments.rs
Apache License 2.0
436 stars 127 forks source link

doc.rs formatting is badly broken #569

Closed cowlicks closed 1 month ago

cowlicks commented 1 month ago

Describe the bug

Where the structs are displayed on the main docs.rs page the description of the struct is shown as a single column of text. Tested in chrome and safari. Looking at old versions this starts on 27.0. But it looks like the number of columns of text has been getting smaller and smaller before that.

Screenshot 2024-07-08 at 9 59 37 AM

To Reproduce

go to https://docs.rs/async-stripe/0.37.1/stripe/index.html

Expected behavior

text is readable

Code snippets

No response

OS

macos

Rust version

n/a

Library version

37

API version

none

Additional context

No response

mzeitlin11 commented 1 month ago

Linking https://github.com/arlyon/async-stripe/issues/488 and https://github.com/rust-lang/rust/issues/120595, long type names are tricky :)

arlyon commented 1 month ago

Hey, @cowlicks, looks like this is fixed upstream so I expect the changes to bubble through to rustdoc shortly. I am closing this now!

cowlicks commented 1 month ago
image

It's not perfect, but I'll take it. Thank you!