mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix rustdoc problems (#33458)
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
97495e45f8
commit
ed908f3fd4
4 changed files with 7 additions and 7 deletions
|
@ -48,8 +48,8 @@
|
|||
//! a linear series of items that describe the line's hierarchy of inline boxes and content. The
|
||||
//! item types are:
|
||||
//!
|
||||
//! - [`LineItem::StartInlineBoxPaddingBorderMargin`]
|
||||
//! - [`LineItem::EndInlineBoxPaddingBorderMargin`]
|
||||
//! - [`LineItem::LeftInlineBoxPaddingBorderMargin`]
|
||||
//! - [`LineItem::RightInlineBoxPaddingBorderMargin`]
|
||||
//! - [`LineItem::TextRun`]
|
||||
//! - [`LineItem::Atomic`]
|
||||
//! - [`LineItem::AbsolutelyPositioned`]
|
||||
|
|
|
@ -638,7 +638,7 @@ pub(crate) trait FromInputValueString {
|
|||
|
||||
/// <https://html.spec.whatwg.org/multipage/#parse-a-month-string>
|
||||
///
|
||||
/// Parse the month and return an [`OffsetDate`] on midnight of UTC of the morning of
|
||||
/// Parse the month and return an [`OffsetDateTime`] on midnight of UTC of the morning of
|
||||
/// the first day of the parsed month.
|
||||
///
|
||||
/// A valid month string should be "YYYY-MM" YYYY must be four or more digits, MM both
|
||||
|
|
|
@ -26,8 +26,8 @@ pub trait CollectionFilter: JSTraceable {
|
|||
}
|
||||
|
||||
/// An optional `u32`, using `u32::MAX` to represent None. It would be nicer
|
||||
/// just to use `Option<u32>`` for this, but that would produce word alignment
|
||||
/// issues since `Option<u32>`` uses 33 bits.
|
||||
/// just to use `Option<u32>` for this, but that would produce word alignment
|
||||
/// issues since `Option<u32>` uses 33 bits.
|
||||
#[derive(Clone, Copy, JSTraceable, MallocSizeOf)]
|
||||
struct OptionU32 {
|
||||
bits: u32,
|
||||
|
|
|
@ -2427,8 +2427,8 @@ impl Node {
|
|||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// Callers should ensure they pass an UntrustedNodeAddress that points to a valid `JSObject`
|
||||
/// in memory that represents a `Node`.
|
||||
/// Callers should ensure they pass an UntrustedNodeAddress that points to a valid [`JSObject`]
|
||||
/// in memory that represents a [`Node`].
|
||||
#[allow(unsafe_code)]
|
||||
pub unsafe fn from_untrusted_node_address(candidate: UntrustedNodeAddress) -> &'static Self {
|
||||
// https://github.com/servo/servo/issues/6383
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue