Skip to content

Commit 2b3fac5

Browse files
fix ci
1 parent 76d24e2 commit 2b3fac5

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

.github/workflows/rust.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"rust": [
2626
"stable",
2727
"beta",
28-
"nightly"
28+
"nightly",
2929
"1.85.0"
3030
]
3131
}
@@ -59,14 +59,6 @@
5959
"args": "--bench *"
6060
},
6161
"name": "Run `cargo check` on benches"
62-
},
63-
{
64-
"uses": "actions-rs/cargo@v1",
65-
"with": {
66-
"command": "check",
67-
"args": "--examples"
68-
},
69-
"name": "Check examples"
7062
}
7163
]
7264
},

docs/spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ let str = "Hello 🌍"; // Mixed ASCII and Unicode
231231

232232
let encoded = bincode::encode_to_vec(str, bincode::config::legacy()).unwrap();
233233
assert_eq!(encoded.as_slice(), &[
234-
9, 0, 0, 0, 0, 0, 0, 0, // length of the string, 9 bytes
234+
10, 0, 0, 0, 0, 0, 0, 0, // length of the string, 9 bytes
235235
b'H', b'e', b'l', b'l', b'o', b' ', 0xF0, 0x9F, 0x8C, 0x8D // UTF-8 encoded string
236236
]);
237237
```

tests/std.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mod utils;
55

66
use bincode::error::DecodeError;
77
use std::{
8-
ffi::{CStr, CString},
8+
ffi::CString,
99
io::{Cursor, Seek, SeekFrom},
1010
net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6},
1111
path::{Path, PathBuf},

0 commit comments

Comments
 (0)