Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix check deps error #3851

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/biome_formatter/src/comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ impl<L: Language> Comments<L> {
pub fn leading_dangling_trailing_comments<'a>(
&'a self,
node: &'a SyntaxNode<L>,
) -> impl Iterator<Item = &SourceComment<L>> + 'a {
) -> impl Iterator<Item = &'a SourceComment<L>> + 'a {
self.data.comments.parts(&node.key())
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ macro_rules! declare_visitor {
impl<'a> StatementStack<'a> {
/// Split the visitor state at the topmost function, returning the
/// corresponding function visitor and the rest of the stack above it
fn new(visitor: &'a mut $name) -> Option<(&mut FunctionVisitor, Self)> {
fn new(visitor: &'a mut $name) -> Option<(&'a mut FunctionVisitor, Self)> {
let (index, builder) = visitor.function.last_mut()?;

Some((builder, Self {
Expand Down
1 change: 0 additions & 1 deletion crates/biome_ungrammar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//! for details.

#![deny(missing_debug_implementations)]
#![deny(missing_docs)]
#![deny(rust_2018_idioms)]

mod error;
Expand Down
Loading