mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-22 02:11:19 +00:00
Fix comments in parser
This commit is contained in:
parent
3ad5493d23
commit
d396c168a5
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user