Skip to content

Commit 3ff4cc1

Browse files
committed
---
yaml --- r: 11891 b: refs/heads/master c: f69e9ff h: refs/heads/master i: 11889: 147459c 11887: 9fe9128 v: v3
1 parent 6d87efa commit 3ff4cc1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e1b14f6d5b8e423fbed4b482c0029e8c17510246
2+
refs/heads/master: f69e9ff643921bfe81f2d772042eae3f5acabaef
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/test/bench/sudoku.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn solve_grid(g: grid_t) {
5050
fn next_color(g: grid, row: u8, col: u8, start_color: u8) -> bool {
5151
if start_color < 10u8 {
5252
// colors not yet used
53-
let avail = bitv::create(10u, false);
53+
let avail = bitv::bitv(10u, false);
5454
u8::range(start_color, 10u8) { |color|
5555
bitv::set(avail, color as uint, true);
5656
}
@@ -73,8 +73,8 @@ fn solve_grid(g: grid_t) {
7373
}
7474

7575
// find colors available in neighbourhood of (row, col)
76-
fn drop_colors(g: grid, avail: bitv::t, row: u8, col: u8) {
77-
fn drop_color(g: grid, colors: bitv::t, row: u8, col: u8) {
76+
fn drop_colors(g: grid, avail: bitv::bitv, row: u8, col: u8) {
77+
fn drop_color(g: grid, colors: bitv::bitv, row: u8, col: u8) {
7878
let color = g[row][col];
7979
if color != 0u8 { bitv::set(colors, color as uint, false); }
8080
}

0 commit comments

Comments
 (0)