Skip to content

Commit 459abe4

Browse files
committed
Bump required version to 1.30.1
1 parent 7c32c62 commit 459abe4

File tree

7 files changed

+15
-6
lines changed

7 files changed

+15
-6
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
* **`0.13.0`**
2+
* Allow `arr!` to be imported with use syntax.
3+
* Requires minumum Rust version of 1.30.1
4+
5+
* **`0.12.2`**
6+
* Implement `FusedIterator` for `GenericArrayIter`
7+
18
* **`0.12.1`**
29
* Use internal iteration where possible and provide more efficient internal iteration methods.
310

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "generic-array"
4-
version = "0.12.1"
4+
version = "0.13.0"
55
authors = [ "Bartłomiej Kamiński <[email protected]>", "Aaron Trent <[email protected]>" ]
66

77
description = "Generic types implementing functionality of arrays"

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
This crate implements generic array types for Rust.
66

7+
**Requires minumum Rust version of 1.30.1**
8+
79
[Documentation](http://fizyk20.github.io/generic-array/generic_array/)
810

911
## Usage

src/functional.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use super::ArrayLength;
66
use core::iter::FromIterator;
77

8-
use ::sequence::*;
8+
use crate::sequence::*;
99

1010
/// Defines the relationship between one generic sequence and another,
1111
/// for operations such as `map` and `zip`.

src/hex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use core::{fmt, str, ops::Add, cmp::min};
1919

2020
use typenum::*;
2121

22-
use ::{ArrayLength, GenericArray};
22+
use crate::{ArrayLength, GenericArray};
2323

2424
static LOWER_CHARS: &'static [u8] = b"0123456789abcdef";
2525
static UPPER_CHARS: &'static [u8] = b"0123456789ABCDEF";

src/impls.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use core::hash::{Hash, Hasher};
55

66
use super::{ArrayLength, GenericArray};
77

8-
use ::functional::*;
9-
use ::sequence::*;
8+
use crate::functional::*;
9+
use crate::sequence::*;
1010

1111
impl<T: Default, N> Default for GenericArray<T, N>
1212
where

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ mod test {
616616

617617
#[test]
618618
fn test_assembly() {
619-
use ::functional::*;
619+
use crate::functional::*;
620620

621621
let a = black_box(arr![i32; 1, 3, 5, 7]);
622622
let b = black_box(arr![i32; 2, 4, 6, 8]);

0 commit comments

Comments
 (0)