Skip to content

Commit

Permalink
Bump Rust toolchain to 1.81 (#8230)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix authored Jan 16, 2025
1 parent 1262b91 commit f614408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.80.1"
channel = "1.81"
components = [ "rustfmt", "clippy" ]
4 changes: 2 additions & 2 deletions rust/db_proto/src/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ mod tests {
fixed(fixed_offset = fixed_offset, (0)),
},
{
name(l), type (crate::meta::Length), size(fixed = fixed),
name(l), type ($crate::meta::Length), size(fixed = fixed),
value(auto = auto), docs(concat!("`", stringify! (l), "` field.")),
fixed(fixed_offset = fixed_offset, ((0) + std::mem::size_of::<u8>())),
},
Expand All @@ -843,7 +843,7 @@ mod tests {
fixed(no_fixed_offset = no_fixed_offset, (0)),
},
{
name(d), type (crate::meta::FixedArray<4, u8>), size(fixed = fixed),
name(d), type ($crate::meta::FixedArray<4, u8>), size(fixed = fixed),
value(no_value = no_value),
docs(concat!("`", stringify! (d), "` field.")),
fixed(no_fixed_offset = no_fixed_offset, ((0) + std::mem::size_of::<i16>())),
Expand Down

0 comments on commit f614408

Please sign in to comment.