0
0
Fork 0
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:
snek 2024-09-12 08:23:09 -07:00 committed by GitHub
parent 8d5924f48e
commit a729b2471c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()) };