mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 15:04:33 -05:00
fix cppgc docs (#1618)
This commit is contained in:
parent
8d5924f48e
commit
a729b2471c
1 changed files with 2 additions and 2 deletions
|
@ -438,7 +438,7 @@ macro_rules! member {
|
|||
}
|
||||
|
||||
#[doc = "Create a new "]
|
||||
#[doc = stringify!(name)]
|
||||
#[doc = stringify!($name)]
|
||||
#[doc = " and initialize it with an object."]
|
||||
pub fn new(other: &impl GetRustObj<T>) -> Self {
|
||||
Self {
|
||||
|
@ -535,7 +535,7 @@ macro_rules! persistent {
|
|||
}
|
||||
|
||||
#[doc = "Create a new "]
|
||||
#[doc = stringify!(name)]
|
||||
#[doc = stringify!($name)]
|
||||
#[doc = " and initialize it with an object."]
|
||||
pub fn new(other: &impl GetRustObj<T>) -> Self {
|
||||
let this = unsafe { [< cppgc__ $name __CONSTRUCT >](other.get_rust_obj()) };
|
||||
|
|
Loading…
Reference in a new issue