Skip to content

Commit 31a1c0b

Browse files
author
Irene Diez
committed
F
1 parent d0665eb commit 31a1c0b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration-tests/tests/to.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ ssh-ed25519 sshkey_default [email protected]
292292

293293
fn determine_device_credential_guid(path: &Path) -> Result<Guid> {
294294
let dc_contents = fs::read(path).context("Error reading device credential")?;
295-
let dc: FileDeviceCredential =
296-
ciborium::de::from_reader::<FileDeviceCredential, &T>(dc_contents.as_ref())
297-
.context("Error deserializing device credential")?;
295+
let dc: FileDeviceCredential = ciborium::de::from_reader(dc_contents.as_slice())
296+
.context("Error deserializing device credential")?;
298297
Ok(dc.guid)
299298
}

0 commit comments

Comments
 (0)