Auto merge of #30680 - wesleywiser:rustdoc_image_max_width, r=steveklabnik
Auto merge of #30680 - wesleywiser:rustdoc_image_max_width, r=steveklabnik

Fixes #24861

aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust,GBGamer/rust,graydon/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,graydon/rust,GBGamer/rust,graydon/rust