Changesets · Branches · Tags · Compare
| Changeset | 6c24ed805bf1b1a763ede891e1cb6b48458d4e104bdb5dcc33af01e5fd470164 |
|---|---|
| Author | Will Jones <willjones127@gmail.com> · 2024-09-23 07:33 -07:00 |
| Committer | GitHub <noreply@github.com> · 2024-09-23 07:33 -07:00 |
| Parents | 4742b7cc5764 |
2 files changed
modified .github/workflows/rust.yml +1 −2
| @@ -30,7 +30,6 @@ | ||
| 30 | 30 | defaults: |
| 31 | 31 | run: |
| 32 | 32 | shell: bash |
| 33 | - working-directory: rust | |
| 34 | 33 | env: |
| 35 | 34 | # Need up-to-date compilers for kernels |
| 36 | 35 | CC: gcc-12 |
| @@ -50,7 +49,7 @@ | ||
| 50 | 49 | - name: Run format |
| 51 | 50 | run: cargo fmt --all -- --check |
| 52 | 51 | - name: Run clippy |
| 53 | - run: cargo clippy --all --all-features -- -D warnings | |
| 52 | + run: cargo clippy --workspace --tests --all-features -- -D warnings | |
| 54 | 53 | linux: |
| 55 | 54 | timeout-minutes: 30 |
| 56 | 55 | # To build all features, we need more disk space than is available |
modified rust/lancedb/src/table.rs +1 −1
| @@ -3234,7 +3234,7 @@ | ||
| 3234 | 3234 | let values_builder = StringBuilder::new(); |
| 3235 | 3235 | let mut builder = ListBuilder::new(values_builder); |
| 3236 | 3236 | for i in 0..120 { |
| 3237 | - builder.values().append_value(TAGS[i % 3].to_string()); | |
| 3237 | + builder.values().append_value(TAGS[i % 3]); | |
| 3238 | 3238 | if i % 3 == 0 { |
| 3239 | 3239 | builder.append(true) |
| 3240 | 3240 | } |