Skip to content

Conversation

@KSXGitHub
Copy link
Owner

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds type aliases for the simple_curly_braces shorthand to improve developer experience by providing clearer type signatures. The module is also made public to allow users to access all the helper types.

  • Introduces several type aliases (SimpleCurlyBraces, LazilyParsed, EagerlyParsed, etc.) for complex return types
  • Makes the simple_curly_braces module public while selectively re-exporting only the main items at the crate root
  • Updates documentation links to properly reference the module vs the function

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/shorthands/simple_curly_braces.rs Adds comprehensive type aliases for return types and error types, with proper documentation and test coverage
src/shorthands.rs Changes module visibility to public and updates re-exports to include only primary items
src/lib.rs Updates documentation links to use mod@simple_curly_braces for module references
src/enclosed/parser.rs Updates documentation link to reference the simple_curly_braces function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KSXGitHub KSXGitHub merged commit 1dabb1f into master Dec 28, 2025
8 checks passed
@KSXGitHub KSXGitHub deleted the type-aliases branch December 28, 2025 07:08
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.

2 participants