Skip to content

Commit

Permalink
test for unclosed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Aug 18, 2023
1 parent 76c36bb commit 9f5d54a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sway-parse/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub trait Parse {
Self: Sized;

fn error(
_spans: Box<[sway_types::Span]>,
#[allow(clippy::boxed_local)] _spans: Box<[sway_types::Span]>,
_error: sway_error::handler::ErrorEmitted,
) -> Option<Self>
where
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
contract;

/
/ Comments

mod foo;
mod bar;
mod baz;
Expand Down

0 comments on commit 9f5d54a

Please sign in to comment.