Fix typo in window.rs (#10358)

# Objective

Fixes a small typo in `bevy_window/src/window.rs`

## Solution

Change `Should be used instead 'scale_factor' when set.` to `Should be
used instead of 'scale_factor' when set.`
This commit is contained in:
Doonv 2023-11-04 00:04:39 +02:00 committed by GitHub
parent a1681f43d9
commit 6a7b21592f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -589,7 +589,7 @@ pub struct WindowResolution {
physical_height: u32,
/// Code-provided ratio of physical size to logical size.
///
/// Should be used instead `scale_factor` when set.
/// Should be used instead of `scale_factor` when set.
scale_factor_override: Option<f64>,
/// OS-provided ratio of physical size to logical size.
///