pub fn no_crate(crate_name: impl Into<String>) -> Self {
        Self::Crate(CrateNotFoundError {
            crate_name: crate_name.into(),
        })
    }
/// No crate found with this name
///
/// # Example
/// ```
/// use crate_index::tree::NotFoundError;
///
/// let error = NotFoundError::no_crate("some-crate");
/// ```
No crate found with this name
No crate found with this name
pub fn no_crate(crate_name: impl Into<String>) -> Self {
        Self::Crate(CrateNotFoundError {
            crate_name: crate_name.into(),
        })
    }
pub fn no_crate ( crate_name : impl Into < String > ) -> Self { Self :: Crate ( CrateNotFoundError { crate_name : crate_name . into ( ) , } ) }
No crate found with this name
No crate found with this name
crate_name
impl Into<String>
example
```
use crate_index::tree::NotFoundError.

let error = NotFoundError::no_crate("some-crate");
```
` ` ` use crate_index :: tree :: NotFoundError . let error = NotFoundError :: no_crate ( " some - crate " ) ; ` ` `