Skip to content

Commit

Permalink
Fix MSRV tests (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jul 21, 2020
1 parent 2cce4c4 commit 2cb81e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blobby.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.36.0 # MSRV
- 1.39.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpuid-bool.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.32.0 # MSRV
- 1.39.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blobby/examples/convert.rs
Expand Up @@ -71,7 +71,7 @@ fn encode(reader: impl BufRead, mut writer: impl Write) -> io::Result<usize> {

for blob in blobs.iter() {
if let Some(dup_pos) = rev_idx.get(blob.as_slice()) {
let n = (dup_pos << 1) + 1;
let n = (dup_pos << 1) + 1usize;
writer.write_all(encode_vlq(n, &mut buf))?;
} else {
let n = blob.len() << 1;
Expand Down

0 comments on commit 2cb81e3

Please sign in to comment.