mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-15 20:31:38 +00:00
Fix comments in parser
This commit is contained in:
@@ -121,7 +121,7 @@ impl BindgenAttrs {
|
|||||||
.next()
|
.next()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Whether the special getter attributes is present
|
/// Whether the indexing getter attributes is present
|
||||||
fn indexing_getter(&self) -> bool {
|
fn indexing_getter(&self) -> bool {
|
||||||
self.attrs.iter().any(|a| match *a {
|
self.attrs.iter().any(|a| match *a {
|
||||||
BindgenAttr::IndexingGetter => true,
|
BindgenAttr::IndexingGetter => true,
|
||||||
@@ -129,7 +129,7 @@ impl BindgenAttrs {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Whether the special setter attributes is present
|
/// Whether the indexing setter attributes is present
|
||||||
fn indexing_setter(&self) -> bool {
|
fn indexing_setter(&self) -> bool {
|
||||||
self.attrs.iter().any(|a| match *a {
|
self.attrs.iter().any(|a| match *a {
|
||||||
BindgenAttr::IndexingSetter => true,
|
BindgenAttr::IndexingSetter => true,
|
||||||
@@ -137,7 +137,7 @@ impl BindgenAttrs {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Whether the special deleter attributes is present
|
/// Whether the indexing deleter attributes is present
|
||||||
fn indexing_deleter(&self) -> bool {
|
fn indexing_deleter(&self) -> bool {
|
||||||
self.attrs.iter().any(|a| match *a {
|
self.attrs.iter().any(|a| match *a {
|
||||||
BindgenAttr::IndexingDeleter => true,
|
BindgenAttr::IndexingDeleter => true,
|
||||||
|
Reference in New Issue
Block a user