Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat authored Oct 10, 2020
1 parent 5109d83 commit cb5d69f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boa/src/object/gcobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ use std::{
result::Result as StdResult,
};

/// A wrapper type for an immutably borrowed `Object`.
pub type Ref<'object, T> = GcCellRef<'object, T>;
/// A wrapper type for an immutably borrowed type T.
pub type Ref<'a, T> = GcCellRef<'a, T>;

/// A wrapper type for a mutably borrowed `Object`.
pub type RefMut<'object, T> = GcCellRefMut<'object, T>;
/// A wrapper type for a mutably borrowed type T.
pub type RefMut<'a, T> = GcCellRefMut<'a, T>;

/// Garbage collected `Object`.
#[derive(Trace, Finalize, Clone, Default)]
Expand Down

0 comments on commit cb5d69f

Please sign in to comment.