We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f72ab92 commit 5551a47Copy full SHA for 5551a47
rust/src/security/gssapi.rs
@@ -88,7 +88,7 @@ fn libgssapi() -> crate::Result<&'static bindings::GSSAPI> {
88
#[derive(Debug)]
89
struct GssBuf<'a>(bindings::gss_buffer_desc_struct, PhantomData<&'a [u8]>);
90
91
-impl<'a> GssBuf<'a> {
+impl GssBuf<'_> {
92
fn new() -> Self {
93
Self(
94
bindings::gss_buffer_desc_struct {
@@ -100,7 +100,7 @@ impl<'a> GssBuf<'a> {
100
}
101
102
103
-impl<'a> Deref for GssBuf<'a> {
+impl Deref for GssBuf<'_> {
104
type Target = [u8];
105
106
fn deref(&self) -> &Self::Target {
@@ -132,7 +132,7 @@ impl<'a> From<&'a str> for GssBuf<'a> {
132
133
134
135
136
pub(crate) unsafe fn as_ptr(&mut self) -> bindings::gss_buffer_t {
137
&mut self.0 as bindings::gss_buffer_t
138
0 commit comments