@@ -204,7 +204,7 @@ impl NativeWindow {
204
204
/// may choose a display refresh rate to better match this window's frame rate. Usage of this
205
205
/// API won't introduce frame rate throttling, or affect other aspects of the application's
206
206
/// 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
208
208
/// to the time interval at which the system releases buffers back to the application.
209
209
///
210
210
/// Note that this only has an effect for windows presented on the display. If this
@@ -390,7 +390,7 @@ impl Drop for NativeWindowBufferLockGuard<'_> {
390
390
}
391
391
}
392
392
393
- #[ cfg( all ( feature = "nativewindow" , feature = " api-level-26") ) ]
393
+ #[ cfg( feature = "api-level-26" ) ]
394
394
bitflags:: bitflags! {
395
395
/// Transforms that can be applied to buffers as they are displayed to a window.
396
396
///
@@ -426,7 +426,7 @@ bitflags::bitflags! {
426
426
doc = " and [`NativeWindow::set_frame_rate_with_change_strategy()`]"
427
427
) ]
428
428
/// .
429
- #[ cfg( all ( feature = "nativewindow" , feature = " api-level-30") ) ]
429
+ #[ cfg( feature = "api-level-30" ) ]
430
430
#[ repr( i8 ) ]
431
431
#[ derive( Clone , Copy , Debug , Hash , PartialEq , Eq ) ]
432
432
#[ doc( alias = "ANativeWindow_FrameRateCompatibility" ) ]
@@ -453,7 +453,7 @@ pub enum FrameRateCompatibility {
453
453
}
454
454
455
455
/// 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" ) ]
457
457
#[ repr( i8 ) ]
458
458
#[ derive( Clone , Copy , Debug , Hash , PartialEq , Eq ) ]
459
459
#[ doc( alias = "ANativeWindow_ChangeFrameRateStrategy" ) ]
0 commit comments