Formatting fix

This commit is contained in:
Ryan McGrath 2022-08-21 16:04:20 -07:00
parent a94e9e6dd2
commit 71c107e070
No known key found for this signature in database
GPG key ID: DA6CBD9233593DEA

View file

@ -192,8 +192,8 @@ impl Image {
} }
/// Creates and returns an Image with the specified `SFSymbol`. Note that `SFSymbol` is /// Creates and returns an Image with the specified `SFSymbol`. Note that `SFSymbol` is
/// supported on macOS 11.0+ and iOS 13.0+; as such, this will panic if called on a /// supported on macOS 11.0+ and iOS 13.0+; as such, this will panic if called on a
/// lower system. Take care to provide a fallback image or user experience if you /// lower system. Take care to provide a fallback image or user experience if you
/// need to support an older OS. /// need to support an older OS.
/// ///
/// This is `target_os` gated as SFSymbols is fairly Apple-specific. If another runtime /// This is `target_os` gated as SFSymbols is fairly Apple-specific. If another runtime
@ -220,7 +220,7 @@ impl Image {
false => { false => {
#[cfg(feature = "appkit")] #[cfg(feature = "appkit")]
panic!("SFSymbols are only supported on macOS 11.0 and up."); panic!("SFSymbols are only supported on macOS 11.0 and up.");
#[cfg(all(feature = "uikit", not(feature = "appkit")))] #[cfg(all(feature = "uikit", not(feature = "appkit")))]
panic!("SFSymbols are only supported on macOS 11.0 and up."); panic!("SFSymbols are only supported on macOS 11.0 and up.");
} }