From b8f5ea5ea392c52702bff50e7a415d27c5468bfa Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 13 Nov 2023 11:14:33 +0100 Subject: [PATCH] Fix doc comments This fixes a clippy warning from a new lint introduced in 1.70.0 and a rustdoc warning. --- src/lib.rs | 2 +- tests/other.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 90753bb..e831980 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,7 +41,7 @@ pub use types::{RsaImportFormat, RsaPublicParts}; mod crypto_traits; pub use crypto_traits::{Rsa2048Pkcs1v15, Rsa3072Pkcs1v15, Rsa4096Pkcs1v15}; -/// Trussed [`Backend`](trussed::backend::Backend) implementation adding support for RSA +/// Trussed [`Backend`][] implementation adding support for RSA /// /// This implementation is done in software and requieres an allocator #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Default, Hash)] diff --git a/tests/other.rs b/tests/other.rs index 046f87b..9228e43 100644 --- a/tests/other.rs +++ b/tests/other.rs @@ -3,8 +3,9 @@ #![cfg(feature = "virt")] -///! Test that the core backend is still reachable. -///! Tests imported from the trussed repo +//! Test that the core backend is still reachable. +//! Tests imported from the trussed repo + use trussed::{client::CertificateClient as _, syscall, try_syscall, types::Location::*}; use trussed_rsa_alloc::virt;