diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-03-05 16:08:35 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-03-06 08:23:21 +0100 |
| commit | 587c67f9b512cfbc66ee3b84b90d93f08af34121 (patch) | |
| tree | c8c250d4771eeea02c2db0c53c69077fec26ceeb | |
| parent | 6195603defb2af56b790f375a1d465a9b0a826a4 (diff) | |
| download | mullvadvpn-587c67f9b512cfbc66ee3b84b90d93f08af34121.tar.xz mullvadvpn-587c67f9b512cfbc66ee3b84b90d93f08af34121.zip | |
Clippy comment style fixes
| -rw-r--r-- | talpid_openvpn_plugin/src/ffi/consts.rs | 2 | ||||
| -rw-r--r-- | talpid_openvpn_plugin/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/talpid_openvpn_plugin/src/ffi/consts.rs b/talpid_openvpn_plugin/src/ffi/consts.rs index c7cddfd279..cf5490afbc 100644 --- a/talpid_openvpn_plugin/src/ffi/consts.rs +++ b/talpid_openvpn_plugin/src/ffi/consts.rs @@ -12,7 +12,7 @@ error_chain!{ } } -/// Enum whose variants correspond to the OPENVPN_PLUGIN_* event constants. +/// Enum whose variants correspond to the `OPENVPN_PLUGIN_*` event constants. #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] pub enum OpenVpnPluginEvent { Up = 0, diff --git a/talpid_openvpn_plugin/src/lib.rs b/talpid_openvpn_plugin/src/lib.rs index a13245e327..4eb2a0f336 100644 --- a/talpid_openvpn_plugin/src/lib.rs +++ b/talpid_openvpn_plugin/src/lib.rs @@ -85,7 +85,7 @@ pub extern "C" fn openvpn_plugin_close_v1(handle: *const c_void) { } -/// Called by OpenVPN for each OPENVPN_PLUGIN_* event that it registered for in +/// Called by OpenVPN for each `OPENVPN_PLUGIN_*` event that it registered for in /// `openvpn_plugin_open_v3` #[no_mangle] pub extern "C" fn openvpn_plugin_func_v3(_version: c_int, |
