Skip to content

Commit 001ca89

Browse files
committed
Update dependencies, bump version
1 parent c4a3081 commit 001ca89

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "scoped-pool"
4-
version = "1.0.0"
4+
version = "1.1.0"
55
authors = ["Jonathan Reem <jonathan.reem@gmail.com>"]
66
repository = "https://github.com/reem/rust-scoped-pool.git"
77
description = "A flexible thread pool providing scoped threads."
@@ -10,10 +10,10 @@ license = "MIT"
1010

1111
[dependencies]
1212
variance = "0.1"
13-
crossbeam = "0.2"
14-
scopeguard = "0.1"
13+
crossbeam = "0.3"
14+
scopeguard = "0.3"
1515

1616
[dev-dependencies]
1717
rand = "0.3"
18-
itertools = "0.4"
18+
itertools = "0.7"
1919

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ with the rest of your dependencies:
6565

6666
```toml
6767
[dependencies]
68-
scoped-pool = "1"
68+
scoped-pool = "1.1"
6969
```
7070

71+
`scoped-pool` currently requires Rust 1.11.
72+
7173
## Author
7274

7375
[Jonathan Reem](https://medium.com/@jreem) is the primary author and maintainer of scoped-pool.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ impl<'scope> Scope<'scope> {
322322
pub fn zoom<'smaller, F, R>(&self, scheduler: F) -> R
323323
where F: FnOnce(&Scope<'smaller>) -> R,
324324
'scope: 'smaller {
325-
let scope = unsafe { self.refine::<'smaller>() };
325+
let scope = unsafe { self.refine() };
326326

327327
// Join the scope either on completion of the scheduler or panic.
328328
defer!(scope.join());

0 commit comments

Comments
 (0)