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:
Nick Fitzgerald 2018-06-22 11:14:33 -07:00
parent 24f72c9680
commit 3bce3fb7a5

View File

@ -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
a.tts.clone().into_iter().filter_map(|t| match t {
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
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(vec![], |mut acc, a| {acc.extend(a); acc})
}
}