File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ enum FieldFlag {
66
66
}
67
67
68
68
/// Represents a variant of an enum.
69
+ #[ allow( dead_code) ]
69
70
enum Variant {
70
71
/// A named variant (i.e., `MyVariant { .. }`).
71
72
Named {
@@ -119,6 +120,7 @@ impl Variant {
119
120
}
120
121
121
122
/// The generics of the variant itself.
123
+ #[ allow( dead_code) ]
122
124
fn generics ( & self ) -> & syn:: Generics {
123
125
match self {
124
126
Variant :: Named { generics, .. } => generics,
Original file line number Diff line number Diff line change @@ -1513,9 +1513,7 @@ mod tests {
1513
1513
use hyperactor:: channel:: serve;
1514
1514
use hyperactor:: clock:: Clock ;
1515
1515
use hyperactor:: clock:: RealClock ;
1516
- use hyperactor_mesh_macros:: sel;
1517
1516
use ndslice:: Selection ;
1518
- use ndslice:: extent;
1519
1517
1520
1518
use crate :: Mesh ;
1521
1519
use crate :: ProcMesh ;
Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ impl fmt::Display for ActorMeshId {
98
98
impl FromStr for ActorMeshId {
99
99
type Err = anyhow:: Error ;
100
100
101
+ #[ allow( clippy:: manual_strip) ]
101
102
fn from_str ( s : & str ) -> Result < Self , Self :: Err > {
102
103
if s. starts_with ( "v0:" ) {
103
- #[ allow( clippy:: manual_strip) ]
104
104
let parts: Vec < _ > = s[ 3 ..] . split ( ',' ) . collect ( ) ;
105
105
if parts. len ( ) != 2 {
106
106
return Err ( anyhow:: anyhow!( "invalid v0 actor mesh id: {}" , s) ) ;
You can’t perform that action at this time.
0 commit comments