aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/conversions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/conversions.rs')
-rw-r--r--components/script/conversions.rs4
1 files changed, 2 insertions, 2 deletions
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<T> trait from the standard library that can be used
+/// A version of the `Into<T>` 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<T> {
fn convert(self) -> T;
}
-/// A version of the TryInto<T> trait from the standard library that can be used
+/// A version of the `TryInto<T>` 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.