radicle: remove `TryFrom`
This commit is contained in:
parent
57da779949
commit
9dbbb01dc6
|
|
@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Opening database connections requires specification of a configuration.
|
||||
`radicle::Profile` conveniently provides methods that supply the
|
||||
configuration from `radicle::Profile::config`.
|
||||
- The `TryFrom<PathBuf>` implementation for `Home` is removed in favor of using
|
||||
the `Home::new` and `Home::load` methods.
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
|||
|
|
@ -556,14 +556,6 @@ pub struct Home {
|
|||
path: PathBuf,
|
||||
}
|
||||
|
||||
impl TryFrom<PathBuf> for Home {
|
||||
type Error = io::Error;
|
||||
|
||||
fn try_from(home: PathBuf) -> Result<Self, Self::Error> {
|
||||
Self::new(home)
|
||||
}
|
||||
}
|
||||
|
||||
impl Home {
|
||||
/// Creates the Radicle Home directories.
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in New Issue