Skip to content

Commit c57c408

Browse files
manta1130qryxip
andauthored
Changed the return value type(&Vec<bool> -> &[bool])
Co-authored-by: Ryo Yamashita <[email protected]>
1 parent 2a69b8b commit c57c408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/twosat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl TwoSat {
3030
}
3131
true
3232
}
33-
pub fn answer(&self) -> &Vec<bool> {
33+
pub fn answer(&self) -> &[bool] {
3434
&self.answer
3535
}
3636
}

0 commit comments

Comments
 (0)