@@ -204,7 +204,7 @@ impl NativeWindow {
204204 /// may choose a display refresh rate to better match this window's frame rate. Usage of this
205205 /// API won't introduce frame rate throttling, or affect other aspects of the application's
206206 /// frame production pipeline. However, because the system may change the display refresh rate,
207- /// calls to this function may result in changes to Choreographer callback timings, and changes
207+ /// calls to this function may result in changes to ` Choreographer` callback timings, and changes
208208 /// to the time interval at which the system releases buffers back to the application.
209209 ///
210210 /// Note that this only has an effect for windows presented on the display. If this
@@ -390,7 +390,7 @@ impl Drop for NativeWindowBufferLockGuard<'_> {
390390 }
391391}
392392
393- #[ cfg( all ( feature = "nativewindow" , feature = " api-level-26") ) ]
393+ #[ cfg( feature = "api-level-26" ) ]
394394bitflags:: bitflags! {
395395 /// Transforms that can be applied to buffers as they are displayed to a window.
396396 ///
@@ -426,7 +426,7 @@ bitflags::bitflags! {
426426 doc = " and [`NativeWindow::set_frame_rate_with_change_strategy()`]"
427427) ]
428428/// .
429- #[ cfg( all ( feature = "nativewindow" , feature = " api-level-30") ) ]
429+ #[ cfg( feature = "api-level-30" ) ]
430430#[ repr( i8 ) ]
431431#[ derive( Clone , Copy , Debug , Hash , PartialEq , Eq ) ]
432432#[ doc( alias = "ANativeWindow_FrameRateCompatibility" ) ]
@@ -453,7 +453,7 @@ pub enum FrameRateCompatibility {
453453}
454454
455455/// Change frame rate strategy value for [`NativeWindow::set_frame_rate_with_change_strategy()`].
456- #[ cfg( all ( feature = "nativewindow" , feature = " api-level-31") ) ]
456+ #[ cfg( feature = "api-level-31" ) ]
457457#[ repr( i8 ) ]
458458#[ derive( Clone , Copy , Debug , Hash , PartialEq , Eq ) ]
459459#[ doc( alias = "ANativeWindow_ChangeFrameRateStrategy" ) ]
0 commit comments