diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-03-08 09:06:30 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-03-08 09:06:30 +0100 |
| commit | 34273d87d72ef5db7bfc240704eb9ea56255764f (patch) | |
| tree | 4fb239d78be4126d11b95e1f841c2dfe858a094c | |
| parent | b7e6675c663e23e6cbaa150b2540152e508684ed (diff) | |
| download | mullvadvpn-34273d87d72ef5db7bfc240704eb9ea56255764f.tar.xz mullvadvpn-34273d87d72ef5db7bfc240704eb9ea56255764f.zip | |
Change static to const
| -rw-r--r-- | talpid_cli/src/cli.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/talpid_cli/src/cli.rs b/talpid_cli/src/cli.rs index 765180379a..79a13d94c2 100644 --- a/talpid_cli/src/cli.rs +++ b/talpid_cli/src/cli.rs @@ -4,11 +4,11 @@ use std::path::PathBuf; use talpid_core::net::RemoteAddr; #[cfg(all(unix, not(target_os="macos")))] -static DEFAULT_PLUGIN_PATH: &'static str = "./target/debug/libtalpid_openvpn_plugin.so"; +const DEFAULT_PLUGIN_PATH: &'static str = "./target/debug/libtalpid_openvpn_plugin.so"; #[cfg(target_os="macos")] -static DEFAULT_PLUGIN_PATH: &'static str = "./target/debug/libtalpid_openvpn_plugin.dylib"; +const DEFAULT_PLUGIN_PATH: &'static str = "./target/debug/libtalpid_openvpn_plugin.dylib"; #[cfg(windows)] -static DEFAULT_PLUGIN_PATH: &'static str = "./target/debug/libtalpid_openvpn_plugin.dll"; +const DEFAULT_PLUGIN_PATH: &'static str = "./target/debug/libtalpid_openvpn_plugin.dll"; pub struct Args { |
