Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
j-chmielewski committed Apr 19, 2024
1 parent dc9a8ea commit 2317c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub fn get_interface_name() -> String {
"utun0".into()
}

/// Returns interface name for location
/// Strips location name of all non-alphanumeric characters returning usable interface name.
#[cfg(not(target_os = "macos"))]
#[must_use]
pub fn get_interface_name(name: &str) -> String {
Expand Down

0 comments on commit 2317c1e

Please sign in to comment.