Skip to content

Commit f302d14

Browse files
authored
chore(backend): add #[must_use] to BackendGroup::new constructor (#21)
1 parent 6617055 commit f302d14

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/backend/src/group.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pub struct BackendGroup {
2828

2929
impl BackendGroup {
3030
/// Create a new backend group.
31+
#[must_use]
3132
pub fn new(
3233
name: String,
3334
backends: Vec<Arc<dyn Backend>>,

0 commit comments

Comments
 (0)