1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-20 16:26:33 +00:00

Fix comments in parser

This commit is contained in:
Anton Danilkin
2018-08-07 00:48:03 +03:00
parent 3ad5493d23
commit d396c168a5

@ -121,7 +121,7 @@ impl BindgenAttrs {
.next()
}
/// Whether the special getter attributes is present
/// Whether the indexing getter attributes is present
fn indexing_getter(&self) -> bool {
self.attrs.iter().any(|a| match *a {
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 {
self.attrs.iter().any(|a| match *a {
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 {
self.attrs.iter().any(|a| match *a {
BindgenAttr::IndexingDeleter => true,