From b49e975a50e198d5a28f4d5b69f177d6ee8c1ffd Mon Sep 17 00:00:00 2001 From: szymon Date: Tue, 29 Sep 2026 15:22:14 +0200 Subject: [PATCH] fix: typos --- src/functions.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/functions.rs b/src/functions.rs index 505e0f7..75100c9 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -67,8 +67,8 @@ pub fn get_app_name() -> Option { } } -// Gets the application icon registered. -// Available since: 0.8.4 +/// Gets the application icon registered. +/// Available since: 0.8.4 pub fn get_app_icon() -> Option { let app_icon_c: *const std::os::raw::c_char = unsafe { notify_get_app_icon() }; @@ -122,13 +122,13 @@ pub fn get_server_caps() -> Option> { pub struct ServerInfo { /// A location to store the server name, or `None` - name: Option, + pub name: Option, /// A location to store the server vendor, or `None` - vendor: Option, + pub vendor: Option, /// A location to store the server version, or `None` - version: Option, + pub version: Option, /// A location to store the version the service is compliant with, or `None` - spec_version: Option, + pub spec_version: Option, } /// Queries the server for information.