pub fn into_owned(self) -> BuildError<'static> {
        let BuildError { kind } = self;
        BuildError {
            kind: kind.into_owned(),
        }
    }
/// Clones any borrowed data into an owning instance.
///
/// # Examples
///
/// `BuildError` borrows data in the corresponding glob expression. To move a
/// `BuildError` beyond the scope of a glob expression, clone the data with
/// this function.
///
/// ```rust
/// use wax::{BuildError, Glob};
///
/// fn local() -> Result<(), BuildError<'static>> {
///     let expression = String::from("*.txt");
///     let glob = Glob::new(&expression).map_err(BuildError::into_owned)?;
///     // ...
///     Ok(())
/// }
/// ```
Clones any borrowed data into an owning instance.
Clones any borrowed data into an owning instance .
pub fn into_owned(self) -> BuildError<'static> {
        let BuildError { kind } = self;
        BuildError {
            kind: kind.into_owned(),
        }
    }
pub fn into_owned ( self ) -> BuildError < ' static > { let BuildError { kind } = self ; BuildError { kind : kind . into_owned ( ) , } }
Clones any borrowed data into an owning instance.
Clones any borrowed data into an owning instance .
self
self
examples
`BuildError` borrows data in the corresponding glob expression. To move a
`BuildError` beyond the scope of a glob expression, clone the data with
this function.

```rust
use wax::{BuildError, Glob}.

fn local() -> Result<(), BuildError<'static>> {
let expression = String::from("*.txt");
let glob = Glob::new(&expression).map_err(BuildError::into_owned)?;

Ok(())
}
```
` BuildError ` borrows data in the corresponding glob expression . To move a ` BuildError ` beyond the scope of a glob expression clone the data with this function . ` ` ` rust use wax :: { BuildError Glob } . fn local () - > Result< () BuildError< ' static >> { let expression = String :: from ( " * . txt " ) ; let glob = Glob :: new ( &expression ) . map_err ( BuildError :: into_owned ) ? ; Ok (( )) } ` ` `