Skip to content

Commit

Permalink
Fix clippy warning (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz authored Oct 31, 2021
1 parent 568a7a8 commit 618aca9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
run: |
cd full-moon
cargo test --no-default-features --features serde
- name: Clippy
- name: Clippy (default)
run: |
cargo clippy -- -D warnings
- name: Clippy (all features)
run: |
cargo clippy --all-features -- -D warnings
- name: Rustfmt
Expand Down
1 change: 1 addition & 0 deletions full-moon/src/ast/parsers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,7 @@ define_parser!(ParseIdentifier, TokenReference, |_, state| {
#[derive(Clone, Copy, Debug, PartialEq)]
enum TypeInfoContext {
/// A standard type info, with no context
#[cfg(feature = "roblox")]
None,
/// A type inside of parentheses, either for the parameters in a `TypeInfo::Callback`, or for a `TypeInfo::Tuple`
/// Variadic type infos are only permitted inside of here
Expand Down

0 comments on commit 618aca9

Please sign in to comment.