[bindings] Allow manual setting of struct/enum attributes
[rust-lightning] / lightning-c-bindings / src / chain / chaininterface.rs
index b5f51032326edc1cac5ae8b0e763c4d4e9b82082..48d8f29e92efff22ea9e986f00237527b3bd1088 100644 (file)
@@ -47,9 +47,9 @@ impl Drop for BroadcasterInterface {
 }
 /// An enum that represents the speed at which we want a transaction to confirm used for feerate
 /// estimation.
+#[repr(C)]
 #[must_use]
 #[derive(Clone)]
-#[repr(C)]
 pub enum ConfirmationTarget {
        /// We are happy with this transaction confirming slowly when feerate drops some.
        Background,