Skip to content

Commit be21283

Browse files
committed
fix: execute cargo clippy and fmt
1 parent d602bb3 commit be21283

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/analyze/local_def.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl<'tcx, 'ctx> Analyzer<'tcx, 'ctx> {
135135
.next()
136136
.is_some()
137137
}
138-
138+
139139
// TODO: unify this logic with extraction functions above
140140
pub fn is_fully_annotated(&self) -> bool {
141141
let has_require = self

src/annot.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,9 @@ where
482482
// parse them as user-defined predicate calls.
483483
let next_tt = self.look_ahead_token_tree(0);
484484

485-
if let Some(TokenTree::Delimited(_, _, Delimiter::Parenthesis, args)) = next_tt {
485+
if let Some(TokenTree::Delimited(_, _, Delimiter::Parenthesis, args)) =
486+
next_tt
487+
{
486488
let args = args.clone();
487489
self.consume();
488490

0 commit comments

Comments
 (0)