Skip to content

Commit 1fdcdac

Browse files
author
Rouven Spreckels
committed
Update documentation.
1 parent 89c1bd7 commit 1fdcdac

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
[Documentation]: https://docs.rs/signifix/badge.svg
1515
[License]: https://img.shields.io/crates/l/signifix.svg
1616

17+
**Works now on stable Rust**
18+
1719
Formats a given number in one of the three Signifix notations
1820
[as defined below](#signifix-notations) by determining
1921

RELEASES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Version 0.8.0 (2017-09-26)
1+
# Version 0.8.0 (2017-11-26)
22

3-
* Compiles on stable Rust by reimplementing the `try_from` feature.
3+
* Works now on stable Rust by reimplementing the `try_from` feature.
44
* Added `nightly` feature enabling `try_from` and `i128_type` support. This
5-
replaces the reimplementation of `try_from`.
5+
replaces the reimplementation of `try_from` with a reexport.
66
* Simplified code by using `binary_search_by()`.
77

88
# Version 0.7.0 (2017-07-10)

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ use std::cmp::Ordering;
403403
#[cfg(feature = "nightly")]
404404
pub use std::convert::{TryInto, TryFrom};
405405

406+
/// Required until the `try_from` feature stabilised.
407+
///
406408
/// An attempted conversion that consumes `self`, which may or may not be
407409
/// expensive.
408410
#[cfg(not(feature = "nightly"))]
@@ -414,6 +416,8 @@ pub trait TryInto<T>: Sized {
414416
fn try_into(self) -> result::Result<T, Self::Error>;
415417
}
416418

419+
/// Required until the `try_from` feature stabilised.
420+
///
417421
/// Attempt to construct `Self` via a conversion.
418422
#[cfg(not(feature = "nightly"))]
419423
pub trait TryFrom<T>: Sized {

0 commit comments

Comments
 (0)