Skip to content

Commit

Permalink
glib-macros: Fix clippy warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felinira authored and sdroege committed May 23, 2024
1 parent 092e2e6 commit 8caf1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glib-macros/tests/properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ fn keyword_propnames() {
/// This is useful for refactoring.
#[test]
#[allow(unreachable_code)]
fn empty() {
fn empty_struct() {
mod empty {
mod imp {
use glib::subclass::prelude::*;
Expand Down

0 comments on commit 8caf1e2

Please sign in to comment.