From 28c280556ae612ff7cecd60b0e5c4206fc313ff6 Mon Sep 17 00:00:00 2001 From: Joshua Brest <36625023+JoshuaBrest@users.noreply.github.com> Date: Mon, 24 Apr 2023 03:46:52 +0800 Subject: [PATCH] Whoops, forgot "{}" --- 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 5008a3a..1e0e189 100644 --- a/src/appkit/window/mod.rs +++ b/src/appkit/window/mod.rs @@ -210,7 +210,7 @@ impl Window { /// 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) { - if !os::is_minimum_version(11) return; + if !os::is_minimum_version(11) { return; } unsafe { let subtitle = NSString::new(subtitle);