From 12f4a56acef4d3798e734650e6c6e0bc085dbe8b Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Sat, 2 Nov 2024 11:12:32 +0000 Subject: [PATCH] identifiers: Remove 'rust' from code blocks --- crates/ruma-common/src/identifiers/key_id.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ruma-common/src/identifiers/key_id.rs b/crates/ruma-common/src/identifiers/key_id.rs index f67028ce..c5a3b077 100644 --- a/crates/ruma-common/src/identifiers/key_id.rs +++ b/crates/ruma-common/src/identifiers/key_id.rs @@ -29,7 +29,7 @@ use super::{ /// /// To parse a colon-separated identifier: /// -/// ```rust +/// ``` /// use ruma_common::{DeviceId, DeviceKeyAlgorithm, KeyId, OwnedKeyId}; /// /// let k: OwnedDeviceKeyId = KeyId::parse("ed25519:1").unwrap(); @@ -39,7 +39,7 @@ use super::{ /// /// To construct a colon-separated identifier from its parts: /// -/// ```rust +/// ``` /// use ruma_common::{DeviceId, DeviceKeyAlgorithm, KeyId, OwnedKeyId}; /// /// let k: OwnedDeviceKeyId = KeyId::from_parts(DeviceKeyAlgorithm::Curve25519, "MYDEVICE".into()); @@ -70,7 +70,7 @@ impl KeyId { /// /// # Example /// - /// ```rust + /// ``` /// use ruma_common::{DeviceId, DeviceKeyAlgorithm, KeyId, OwnedKeyId}; /// /// let k: OwnedDeviceKeyId = KeyId::parse("ed25519:1").unwrap(); @@ -84,7 +84,7 @@ impl KeyId { /// /// # Example /// - /// ```rust + /// ``` /// use ruma_common::{DeviceId, DeviceKeyAlgorithm, KeyId, OwnedKeyId}; /// /// let k: OwnedDeviceKeyId = KeyId::parse("ed25519:foo").unwrap();