Skip to content

Commit d5a2c81

Browse files
nyurikemilio
authored andcommitted
avoid compiler warning
1 parent ee3efc8 commit d5a2c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/ir/analysis/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ mod tests {
306306
type Extra = &'a Graph;
307307
type Output = HashMap<Node, HashSet<Node>>;
308308

309-
fn new(graph: &'a Graph) -> ReachableFrom {
309+
fn new(graph: &'a Graph) -> Self {
310310
let reversed = graph.reverse();
311311
ReachableFrom {
312312
reachable: Default::default(),

0 commit comments

Comments
 (0)