Skip to content

Commit 0600af5

Browse files
committed
Don't need to convert to string
1 parent 10ffc7d commit 0600af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/security/gssapi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static LIBGSSAPI: Lazy<Option<bindings::GSSAPI>> = Lazy::new(|| {
6262
let library_name = "libgssapi_krb5.so.2";
6363

6464
#[cfg(not(target_os = "linux"))]
65-
let library_name = library_filename("gssapi_krb5").into_string().unwrap();
65+
let library_name = library_filename("gssapi_krb5");
6666

6767
#[cfg(not(any))]
6868
match unsafe { bindings::GSSAPI::new(library_name) } {

0 commit comments

Comments
 (0)