Skip to content

Commit 83a09af

Browse files
committed
linewrap md files at 80
1 parent 39eedb7 commit 83a09af

File tree

2 files changed

+37
-30
lines changed

2 files changed

+37
-30
lines changed

CHANGELOG.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
This project follows semantic versioning.
44

5-
The MSRV (Minimum Supported Rust Version) is 1.37.0, and typenum is tested against this Rust
6-
version.
5+
The MSRV (Minimum Supported Rust Version) is 1.37.0, and typenum is tested
6+
against this Rust version.
77

88
### Unreleased
99
- [changed] MSRV from 1.22.0 to 1.37.0.
@@ -27,13 +27,15 @@ version.
2727
- [fixed] Cross compilation from Linux to Windows.
2828

2929
### 1.11.1 (2019-08-25)
30-
- [fixed] Builds on earlier Rust builds again and added Rust 1.22.0 to Travis to prevent future breakage.
30+
- [fixed] Builds on earlier Rust builds again and added Rust 1.22.0 to Travis to
31+
prevent future breakage.
3132

3233
### 1.11.0 (2019-08-25)
3334
- [added] Integer `log2` to the `op!` macro.
3435
- [added] Integer binary logarithm operator `Logarithm2` with alias `Log2`.
35-
- [changed] Removed `feature(i128_type)` when running with the `i128` feature. Kept the feature flag.
36-
for typenum to maintain compatibility with old Rust versions.
36+
- [changed] Removed `feature(i128_type)` when running with the `i128`
37+
feature. Kept the feature flag. for typenum to maintain compatibility with
38+
old Rust versions.
3739
- [added] Integer `sqrt` to the `op!` macro.
3840
- [added] Integer square root operator `SquareRoot` with alias `Sqrt`.
3941
- [fixed] Bug with attempting to create U1024 type alias twice.
@@ -44,7 +46,8 @@ version.
4446

4547
### 1.9.0 (2017-05-14)
4648
- [added] The `Abs` type operater and corresponding `AbsVal` alias.
47-
- [added] The feature `i128` that enables creating 128-bit integers from typenums.
49+
- [added] The feature `i128` that enables creating 128-bit integers from
50+
typenums.
4851
- [added] The `assert_type!` and `assert_type_eq!` macros.
4952
- [added] Operators to the `op!` macro, including those performed by `cmp!`.
5053
- [fixed] Bug in `op!` macro involving functions and convoluted expressions.
@@ -56,13 +59,14 @@ version.
5659
- [added] Some comparison type-operators that are used by the `cmp!` macro.
5760

5861
### 1.7.0 (2017-03-24)
59-
- [added] Type operators `Min` and `Max` with accompanying aliases `Minimum` and `Maximum`
62+
- [added] Type operators `Min` and `Max` with accompanying aliases `Minimum` and
63+
`Maximum`
6064

6165
### 1.6.0 (2017-02-24)
6266
- [fixed] Bug in `Array` division.
6367
- [fixed] Bug where `Rem` would sometimes exit early with the wrong answer.
64-
- [added] `PartialDiv` operator that performs division as a partial function -- it's defined only
65-
when there is no remainder.
68+
- [added] `PartialDiv` operator that performs division as a partial function --
69+
it's defined only when there is no remainder.
6670

6771
### 1.5.2 (2017-02-04)
6872
- [fixed] Bug between `Div` implementation and type system.
@@ -71,9 +75,9 @@ version.
7175
- [fixed] Expanded implementation of `Pow` for primitives.
7276

7377
### 1.5.0 (2016-11-03)
74-
- [added] Functions to the `Pow` and `Len` traits. This is *technically* a breaking change, but it
75-
would only break someone's code if they have a custom impl for `Pow`. I would be very surprised
76-
if that is anyone other than me.
78+
- [added] Functions to the `Pow` and `Len` traits. This is *technically* a
79+
breaking change, but it would only break someone's code if they have a custom
80+
impl for `Pow`. I would be very surprised if that is anyone other than me.
7781

7882
### 1.4.0 (2016-10-29)
7983
- [added] Type-level arrays of type-level integers. (PR #66)
@@ -89,4 +93,5 @@ version.
8993
### 1.2.0 (2016-01-03)
9094
- [added] This change log!
9195
- [added] Convenience type aliases for operators. (Issue #48, PR #50)
92-
- [added] Types in this crate now derive all possible traits. (Issue #42, PR #51)
96+
- [added] Types in this crate now derive all possible traits. (Issue #42, PR
97+
#51)

README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@
44
Typenum
55
=====
66

7-
Typenum is a Rust library for type-level numbers evaluated at compile time. It currently
8-
supports bits, unsigned integers, and signed integers.
7+
Typenum is a Rust library for type-level numbers evaluated at compile time. It
8+
currently supports bits, unsigned integers, and signed integers.
99

1010
Typenum depends only on libcore, and so is suitable for use on any platform!
1111

1212
For the full documentation, go [here](https://docs.rs/typenum).
1313

1414
### Importing
1515

16-
While `typenum` is divided into several modules, they are all re-exported through the crate root,
17-
so you can import anything contained herein with `use typenum::whatever;`, ignoring the
18-
crate structure.
16+
While `typenum` is divided into several modules, they are all re-exported
17+
through the crate root, so you can import anything contained herein with `use
18+
typenum::whatever;`, ignoring the crate structure.
1919

20-
You may also find it useful to treat the `consts` module as a prelude, perfoming a glob import.
20+
You may also find it useful to treat the `consts` module as a prelude, perfoming
21+
a glob import.
2122

2223
### Example
2324

@@ -33,26 +34,27 @@ type Y = Exp<N2, P3>;
3334
assert_eq!(<Y as Integer>::to_i32(), -8);
3435
```
3536

36-
For a non-trivial example of its use, see one of the crates that depends on it. The full
37-
list is [here](https://crates.io/crates/typenum/reverse_dependencies). Of note are
38-
[dimensioned](https://crates.io/crates/dimensioned/) which does compile-time type
39-
checking for arbitrary unit systems and
40-
[generic-array](https://crates.io/crates/generic-array/) which provides arrays whose
41-
length you can generically refer to.
37+
For a non-trivial example of its use, see one of the crates that depends on
38+
it. The full list is
39+
[here](https://crates.io/crates/typenum/reverse_dependencies). Of note are
40+
[dimensioned](https://crates.io/crates/dimensioned/) which does compile-time
41+
type checking for arbitrary unit systems and
42+
[generic-array](https://crates.io/crates/generic-array/) which provides arrays
43+
whose length you can generically refer to.
4244

4345
### Error messages
4446

4547

46-
Typenum's error messages aren't great, and can be difficult to parse. The good news is
47-
that the fine folks at Auxon have written a tool to help with it. Please take a look at
48-
[tnfilt](https://github.com/auxoncorp/tnfilt).
48+
Typenum's error messages aren't great, and can be difficult to parse. The good
49+
news is that the fine folks at Auxon have written a tool to help with it. Please
50+
take a look at [tnfilt](https://github.com/auxoncorp/tnfilt).
4951

5052
### License
5153

5254
Licensed under either of
5355

54-
* Apache License, Version 2.0
55-
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
56+
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
57+
http://www.apache.org/licenses/LICENSE-2.0)
5658
* MIT license
5759
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
5860

0 commit comments

Comments
 (0)