From 2b2e8d6256c757f42dc4f332512c66e5c6fc207c Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Wed, 17 Mar 2021 19:11:18 +0100 Subject: [PATCH] nits --- .gitlab-ci.yml | 2 +- README.md | 4 ++-- RELEASES.md | 4 ++-- src/macros_no_frac.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b26203d..f08543d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,7 +96,7 @@ x86_64-gnulinux-tarpaulin: image: amd64/rust:1 variables: TARGET: x86_64 - REQ_COVERAGE: "79.5" + REQ_COVERAGE: "79" cache: key: $CI_JOB_NAME paths: diff --git a/README.md b/README.md index 24a1528..a29942f 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,8 @@ The conversions supported cover the following cases. [`Unwrapped`][u-1-7] wrappers: * [`from_be`][f-fb-1-7], [`from_le`][f-fl-1-7] * [`to_be`][f-tb-1-7], [`to_le`][f-tl-1-7] - * [`swap_bytes`][f-sb-1-7], - * [`reverse_bits`][f-rb-1-7], + * [`swap_bytes`][f-sb-1-7] + * [`reverse_bits`][f-rb-1-7] * [`midpoint`][f-m-1-7] * The following methods were added to the [`Wrapping`][w-1-7] and [`Unwrapped`][u-1-7] wrappers: diff --git a/RELEASES.md b/RELEASES.md index 17d418c..9d71e8a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -18,8 +18,8 @@ Version 1.7.0 (unreleased) [`Unwrapped`][u-1-7] wrappers: * [`from_be`][f-fb-1-7], [`from_le`][f-fl-1-7] * [`to_be`][f-tb-1-7], [`to_le`][f-tl-1-7] - * [`swap_bytes`][f-sb-1-7], - * [`reverse_bits`][f-rb-1-7], + * [`swap_bytes`][f-sb-1-7] + * [`reverse_bits`][f-rb-1-7] * [`midpoint`][f-m-1-7] * The following methods were added to the [`Wrapping`][w-1-7] and [`Unwrapped`][u-1-7] wrappers: diff --git a/src/macros_no_frac.rs b/src/macros_no_frac.rs index 274a0dc..9f39e7e 100644 --- a/src/macros_no_frac.rs +++ b/src/macros_no_frac.rs @@ -865,7 +865,7 @@ assert_eq!(Fix::from_num(3).midpoint(Fix::from_num(4)), Fix::from_num(3.5)); ", }, " -// Midpoint of 0.0011 and 0.00100 would be 0.00111, which has to be rounded. +// Midpoint of 0b0.0011 and 0.00100 would be 0b0.00111, which has to be rounded. assert_eq!(Fix::from_bits(3).midpoint(Fix::from_bits(4)), Fix::from_bits(3)); assert_eq!(Fix::from_bits(4).midpoint(Fix::from_bits(3)), Fix::from_bits(4)); ```