From 93ae8d22fce54bdff06bdc96ef089307fcc997ab Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Sun, 29 Dec 2024 11:37:57 +0100 Subject: Correct a variety of documentation issues (#34786) Fix some warnings in documentation as well as some faulty documentation introduced in #34776. Signed-off-by: Martin Robinson --- components/script/conversions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/conversions.rs') diff --git a/components/script/conversions.rs b/components/script/conversions.rs index 01186119ff5..c9cd43f5e58 100644 --- a/components/script/conversions.rs +++ b/components/script/conversions.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -/// A version of the Into trait from the standard library that can be used +/// A version of the `Into` trait from the standard library that can be used /// to convert between two types that are not defined in the script crate. /// This is intended to be used on dict/enum types generated from WebIDL once /// those types are moved out of the script crate. @@ -10,7 +10,7 @@ pub trait Convert { fn convert(self) -> T; } -/// A version of the TryInto trait from the standard library that can be used +/// A version of the `TryInto` trait from the standard library that can be used /// to convert between two types that are not defined in the script crate. /// This is intended to be used on dict/enum types generated from WebIDL once /// those types are moved out of the script crate. -- cgit v1.2.3