Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefInfo::path contains DefInfo::name #95

Open
JustusAdam opened this issue Oct 26, 2023 · 0 comments
Open

DefInfo::path contains DefInfo::name #95

JustusAdam opened this issue Oct 26, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers policy-framework Concerns the DSL for specifying Rust policies

Comments

@JustusAdam
Copy link
Collaborator

This could likely be simplified by only having DefInfo::path and a name(&self) -> Identifier method that returns the last segment, coupled with an invariant that DefInfo::path never be empty.

@JustusAdam JustusAdam added enhancement New feature or request good first issue Good for newcomers policy-framework Concerns the DSL for specifying Rust policies labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers policy-framework Concerns the DSL for specifying Rust policies
Projects
None yet
Development

No branches or pull requests

1 participant