Skip to content

Commit ce2c502

Browse files
Revert renaming to suppress unused warning
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
1 parent 77615d4 commit ce2c502

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rclrs/src/parameter.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ use std::sync::{
3636

3737
#[derive(Clone, Debug)]
3838
struct ParameterOptionsStorage {
39-
description: Arc<str>,
40-
constraints: Arc<str>,
39+
_description: Arc<str>,
40+
_constraints: Arc<str>,
4141
ranges: ParameterRanges,
4242
}
4343

4444
impl<T: ParameterVariant> From<ParameterOptions<T>> for ParameterOptionsStorage {
4545
fn from(opts: ParameterOptions<T>) -> Self {
4646
Self {
47-
description: opts.description,
48-
constraints: opts.constraints,
47+
_description: opts.description,
48+
_constraints: opts.constraints,
4949
ranges: opts.ranges.into(),
5050
}
5151
}

0 commit comments

Comments
 (0)