Skip to content

fix: honor allow attributes on interface methods#402

Merged
ivov merged 1 commit into
mainfrom
honor-interface-allow-attributes
May 12, 2026
Merged

fix: honor allow attributes on interface methods#402
ivov merged 1 commit into
mainfrom
honor-interface-allow-attributes

Conversation

@ivov

@ivov ivov commented May 12, 2026

Copy link
Copy Markdown
Owner

Honor #[allow(unused_value)] on interface method declarations so that fluent-chain interfaces stop tripping lint.unused_value at every call site.

let api = app.Group("/api/v1")
api.Get("/ping", |c| c.SendString("pong"))
api.Post("/echo", |c| c.SendString("echo"))

Previously, every line warned and had to be wrapped with let _ = ...

@ivov ivov merged commit 3e2e5c2 into main May 12, 2026
11 checks passed
@ivov ivov mentioned this pull request May 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Released in lisette-v0.2.4

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.

1 participant