Skip to content

Commit

Permalink
Bump required version to 1.30.1
Browse files Browse the repository at this point in the history
  • Loading branch information
novacrazy committed Apr 14, 2019
1 parent 7c32c62 commit 459abe4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
* **`0.13.0`**
* Allow `arr!` to be imported with use syntax.
* Requires minumum Rust version of 1.30.1

* **`0.12.2`**
* Implement `FusedIterator` for `GenericArrayIter`

* **`0.12.1`**
* Use internal iteration where possible and provide more efficient internal iteration methods.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "generic-array"
version = "0.12.1"
version = "0.13.0"
authors = [ "Bartłomiej Kamiński <fizyk20@gmail.com>", "Aaron Trent <novacrazy@gmail.com>" ]

description = "Generic types implementing functionality of arrays"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

This crate implements generic array types for Rust.

**Requires minumum Rust version of 1.30.1**

[Documentation](http://fizyk20.github.io/generic-array/generic_array/)

## Usage
Expand Down
2 changes: 1 addition & 1 deletion src/functional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use super::ArrayLength;
use core::iter::FromIterator;

use ::sequence::*;
use crate::sequence::*;

/// Defines the relationship between one generic sequence and another,
/// for operations such as `map` and `zip`.
Expand Down
2 changes: 1 addition & 1 deletion src/hex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use core::{fmt, str, ops::Add, cmp::min};

use typenum::*;

use ::{ArrayLength, GenericArray};
use crate::{ArrayLength, GenericArray};

static LOWER_CHARS: &'static [u8] = b"0123456789abcdef";
static UPPER_CHARS: &'static [u8] = b"0123456789ABCDEF";
Expand Down
4 changes: 2 additions & 2 deletions src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use core::hash::{Hash, Hasher};

use super::{ArrayLength, GenericArray};

use ::functional::*;
use ::sequence::*;
use crate::functional::*;
use crate::sequence::*;

impl<T: Default, N> Default for GenericArray<T, N>
where
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ mod test {

#[test]
fn test_assembly() {
use ::functional::*;
use crate::functional::*;

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

0 comments on commit 459abe4

Please sign in to comment.