Skip to content

Commit

Permalink
Patch compile errors in the unittests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Jan 8, 2025
1 parent dd61208 commit f889b94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions extras/write-float/tests/radix_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@ fn write_float_test() {
.positive_exponent_break(num::NonZeroI32::new(10))
.build_strict();
write_float::<_, BASE3>(1501.2344967901236f64, &OPTS2, "2001121.02002222112101212200212222");
write_float::<_, BASE3>(
0.02290702051986883f64,
&OPTS2,
"0.000121200212201201002110120212011",
);
write_float::<_, BASE3>(0.02290702051986883f64, &OPTS2, "0.000121200212201201002110120212011");
write_float::<_, BASE3>(10e9f64, &OPTS2, "2.21210220202122010101e202");

// Check max digits.
Expand Down
2 changes: 1 addition & 1 deletion lexical-parse-integer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
//! Fields][NumberFormatBuilder#parse-integer-fields].
//!
//! ```rust
//! # #[cfg(feature = "format")] {
//! # #[cfg(all(feature = "format", feature = "power-of-two"))] {
//! # use core::{num, str};
//! use lexical_parse_integer::{NumberFormatBuilder, Options, FromLexicalWithOptions};
//!
Expand Down

0 comments on commit f889b94

Please sign in to comment.