From 7ffe39891cd73984c4bea5e37d463f3398361320 Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 15 Jul 2024 08:41:48 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20typo=20in=20window=E2=80=99s=20set=5Fsub?= =?UTF-8?q?title=20fn=20(#123)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appkit/window/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appkit/window/mod.rs b/src/appkit/window/mod.rs index 8e1d412..e25b566 100644 --- a/src/appkit/window/mod.rs +++ b/src/appkit/window/mod.rs @@ -205,7 +205,7 @@ impl Window { /// underlying window. When this property is an empty string, the system removes the subtitle /// from the window layout. Allocates and passes an `NSString` over to the Objective C runtime. /// Does nothing when less than version 11. - pub fn set_subtittle(&self, subtitle: &str) { + pub fn set_subtitle(&self, subtitle: &str) { if !os::is_minimum_version(11) { return; }