Skip to content

Commit 6721a21

Browse files
committed
chore(backend): add #[must_use] to BackendGroup::new constructor
1 parent 6617055 commit 6721a21

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)