docs: fixed a spelling mistake (#8899)

Fixed a spelling mistake
This commit is contained in:
Anil Kumar 2024-02-19 19:22:08 +05:30 committed by GitHub
parent c426c0dca2
commit 770051ae63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -651,7 +651,7 @@ impl<'a, R: Runtime, M: Manager<R>> WindowBuilder<'a, R, M> {
///
/// - **Windows:**
/// - `false` has no effect on decorated window, shadows are always ON.
/// - `true` will make ndecorated window have a 1px white border,
/// - `true` will make undecorated window have a 1px white border,
/// and on Windows 11, it will have a rounded corners.
/// - **Linux:** Unsupported.
#[must_use]
@ -1657,7 +1657,7 @@ impl<R: Runtime> Window<R> {
///
/// - **Windows:**
/// - `false` has no effect on decorated window, shadow are always ON.
/// - `true` will make ndecorated window have a 1px white border,
/// - `true` will make undecorated window have a 1px white border,
/// and on Windows 11, it will have a rounded corners.
/// - **Linux:** Unsupported.
pub fn set_shadow(&self, enable: bool) -> crate::Result<()> {