Skip to content
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/cairo-lang-parser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ impl<'a, 'mt> Parser<'a, 'mt> {
}

/// Assumes the current token is Impl.
/// Expects either an impl item (`impl <name> of <trait_path> {<impl_body>}`) or and impl alias
/// Expects either an impl item (`impl <name> of <trait_path> {<impl_body>}`) or an impl alias
/// `impl <name> = <path>;`.
/// If `only_allow_alias` is true, always returns an ImplItemOrAlias::Alias.
fn expect_item_impl_inner(
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-syntax/src/node/ast_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn setup(db: &DatabaseForTesting) -> SyntaxNode<'_> {
);
// SyntaxNode::new_detached_root only accepts ast::SyntaxFileGreen, but we only have an
// expression.
// This is a hack to crate a green id of "SyntaxFile" from "Expr".
// This is a hack to create a green id of "SyntaxFile" from "Expr".
let root = SyntaxFileGreen(expr.0);
let file_id = FileLongId::OnDisk(PathBuf::default()).intern(db);
SyntaxNode::new_detached_root(db, file_id, root.0)
Expand Down
Loading