Skip to content

Conversation

Xenira
Copy link
Collaborator

@Xenira Xenira commented Jul 14, 2025

Fixes: #373
BREAKING CHANGE: New field variadic added to Parameter struct.

Description

Added basic stubs for rust closure. This will always be included if the closure feature is enabled.

No argument information, as that is not rly available, but better than having no stubs.

Checklist

Check the boxes that apply (put an x in the brackets, like [x]). You can also check boxes after the PR is created.

❤️ Thank you for your contribution!

Fixes: #373
BREAKING CHANGE: New field `variadic` added to `Parameter` struct.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16274060216

Details

  • 13 of 15 (86.67%) changed or added relevant lines in 3 files are covered.
  • 58 unchanged lines in 3 files lost coverage.
  • Overall coverage remained the same at 22.552%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/describe/stub.rs 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
src/args.rs 7 81.82%
src/describe/mod.rs 8 89.04%
src/describe/stub.rs 43 7.69%
Totals Coverage Status
Change from base Build 16273331616: 0.0%
Covered Lines: 882
Relevant Lines: 3911

💛 - Coveralls

@Xenira Xenira marked this pull request as draft July 14, 2025 18:08
@Xenira Xenira marked this pull request as ready for review July 20, 2025 17:16
@Xenira
Copy link
Collaborator Author

Xenira commented Jul 20, 2025

As enums introduced a similar bc we can merge this.

@Xenira Xenira merged commit 6869625 into master Jul 20, 2025
57 checks passed
@Xenira Xenira deleted the 373-stubs-missing-for-rustclosure branch July 20, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stubs missing for RustClosure

2 participants