mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
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 <mrobinson@igalia.com>
This commit is contained in:
parent
3aa9e00e4e
commit
93ae8d22fc
11 changed files with 20 additions and 19 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue