Skip to content

Commit

Permalink
Remove deprecated LendingFromStr trait (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
miam-miam authored Dec 8, 2023
1 parent 6ce5d96 commit b31cb0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/lending_parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::parse_error::ParseError;

/// Parse a string into the implemented type, unlike [`FromStr`] this trait allows
/// you to borrow the string. It can be automatically derived using
/// [`Parse`](prse_derive::Parse) and was previously called `LendingFromStr`.
/// [`Parse`](prse_derive::Parse).
pub trait Parse<'a> {
/// Parses a string `s` to a return value of this type.
///
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ pub use prse_derive::{parse, try_parse, Parse};

#[rustfmt::skip]
pub use crate::lending_parse::{ExtParseStr, Parse};
/// <b> Deprecated please use [`Parse`](crate::lending_parse::Parse) instead. </b>
pub use crate::lending_parse::Parse as LendingFromStr;
pub use crate::parse_error::ParseError;
#[doc(hidden)]
pub use crate::parse_error::__private;
Expand Down

0 comments on commit b31cb0e

Please sign in to comment.