mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-04 10:02:17 +00:00
backend: Tidy up whitespace
* Remove trailing space on line. * Ensure that there is a newline at the end of the file.
This commit is contained in:
parent
24f72c9680
commit
3bce3fb7a5
@ -1125,7 +1125,7 @@ fn extract_doc_comments(attrs: &[syn::Attribute]) -> Vec<String> {
|
|||||||
// We want to filter out any Puncts so just grab the Literals
|
// We want to filter out any Puncts so just grab the Literals
|
||||||
a.tts.clone().into_iter().filter_map(|t| match t {
|
a.tts.clone().into_iter().filter_map(|t| match t {
|
||||||
TokenTree::Literal(lit) => {
|
TokenTree::Literal(lit) => {
|
||||||
// this will always return the quoted string, we deal with
|
// this will always return the quoted string, we deal with
|
||||||
// that in the cli when we read in the comments
|
// that in the cli when we read in the comments
|
||||||
Some(lit.to_string())
|
Some(lit.to_string())
|
||||||
},
|
},
|
||||||
@ -1138,4 +1138,4 @@ fn extract_doc_comments(attrs: &[syn::Attribute]) -> Vec<String> {
|
|||||||
})
|
})
|
||||||
//Fold up the [[String]] iter we created into Vec<String>
|
//Fold up the [[String]] iter we created into Vec<String>
|
||||||
.fold(vec![], |mut acc, a| {acc.extend(a); acc})
|
.fold(vec![], |mut acc, a| {acc.extend(a); acc})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user