Skip to content

Commit

Permalink
misc. fixes and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Jan 31, 2025
1 parent 3f25548 commit ce2c42e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
strategy:
matrix:
msrv: [1.84.0] # sync with ../../{README.md, Cargo.toml}
msrv: [1.84.1] # sync with ../../{README.md, Cargo.toml}
steps:
- name: "checkout"
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion DOCS/NIGHTLY.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ See also
# 1.86 will be stable on 2025-04-03 (nightly_stable_next2)

- 1.86: ·[float_next_up_down](https://github.com/rust-lang/rust/pull/135661)
- 1.86: ·[const_black_box](https://github.com/rust-lang/rust/pull/135414)

# .‥… will be stable later (nightly_stable_later) <https://releases.rs/#ongoing-stabilization-prs>
- 1.??: ✗[anonymous_pipe](https://github.com/rust-lang/rust/pull/135822)
Expand All @@ -42,7 +43,6 @@ See also
- 1.??: ·[cell_update](https://github.com/rust-lang/rust/pull/134446)
- 1.??: ·[const_array_from_ref](https://github.com/rust-lang/rust/issues/90206)
· const_slice_from_ref
- 1.??: ·[const_black_box](https://github.com/rust-lang/rust/pull/135414)
- 1.??: ·[const_is_char_boundary](https://github.com/rust-lang/rust/pull/134016)
· const_str_split_at
- 1.??: ·[const_slice_flatten](https://github.com/rust-lang/rust/pull/134995)
Expand Down
5 changes: 3 additions & 2 deletions src/data/codec/radix/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ macro_rules! methods {
i += 1;
continue;
} // Skip invalid character
if byte == mapped.unwrap() || (CASE && byte == mapped.unwrap().to_ascii_lowercase()) {
if byte == mapped.unwrap()
|| (CASE && byte == mapped.unwrap().to_ascii_lowercase()) {
return Some(i as u8);
}
i += 1;
Expand All @@ -328,7 +329,7 @@ macro_rules! methods {
pub const fn encoded_len_padded(input_len: usize) -> usize {
let base_len = (input_len * 8).div_ceil($chunk_bits);
if PAD {
(base_len + 7) / 8 * 8 // Round up to nearest multiple of 8
base_len.div_ceil(8) * 8 // Round up to nearest multiple of 8
} else {
base_len
}
Expand Down
4 changes: 2 additions & 2 deletions src/data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ crate::items! { // structural access: _mods, _pub_mods, _internals, _all, _alway
}
mod _pub_mods { #![allow(unused)]
pub use super::{
codec::_all::*, error::*, iter::_all::*, key::_all::*, list::_all::*,
codec::_all::*, error::_all::*, iter::_all::*, key::_all::*, list::_all::*,
table::_all::*, uid::_all::*, xipher::_all::*,
};

Expand All @@ -68,7 +68,7 @@ crate::items! { // structural access: _mods, _pub_mods, _internals, _all, _alway
}
pub(super) mod _always { #![allow(unused)]
pub use super::{
codec::_always::*, collection::*, error::*, iter::_always::*, list::_always::*,
codec::_always::*, collection::*, error::_all::*, iter::_always::*, list::_always::*,
};
}
}
4 changes: 2 additions & 2 deletions src/data/node/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
//
//! Abstractions for structured relationships.
//!
//! Nodes are a basic unit used to build more complex structures,
//! like linked lists, graphs and trees.
//! This module provides tools for building and managing structured relationships
//! in data systems. These abstractions are designed to work together.
//

// mod index;
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
feature(const_collections_with_hasher,)
)]
// "nightly_stable_next2": 1.86 core, alloc, std…
#![cfg_attr(feature = "nightly_stable_next2", feature(float_next_up_down,))]
#![cfg_attr(feature = "nightly_stable_next2", feature(const_black_box, float_next_up_down))]
#![cfg_attr(all(feature = "nightly_stable_next2", feature = "alloc"), feature())]
#![cfg_attr(all(feature = "nightly_stable_next2", feature = "std"), feature())]
// "nightly_stable_later": 1.?? core, alloc, std, not(miri)…
Expand All @@ -72,7 +72,6 @@
asm_goto,
cell_update,
const_array_from_ref,
const_black_box,
const_is_char_boundary,
const_slice_flatten,
const_slice_from_ref,
Expand Down
1 change: 0 additions & 1 deletion src/num/rand/xorshift/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ crate::items! {
/// - `$triplet`: `0..=3` for 16-bit; `0..=80` for 32-bit; `0..=274` for 64-bit.
/// - `$seed`: any value. If `0` is given the default seed will be used.
///
///
/// # Panics
/// If the `$basis` is outside range `0..=7`.
//
Expand Down

0 comments on commit ce2c42e

Please sign in to comment.