doc(deprecated) Fix typo + simplify the review.

This commit is contained in:
Ivan Enderlin
2020-07-03 16:08:32 +02:00
parent fc9b486290
commit c3ff296bcf
2 changed files with 2 additions and 2 deletions

View File

@@ -2,5 +2,5 @@ struct Exports {}
impl Exports {
fn new() -> Self;
fn get<'a, T>(&'a self, name: &str) -> Result<T, ExportError>;
fn get<'a, T: Exportable<'a> + Clone + 'a>(&'a self, name: &str) -> Result<T, ExportError>;
}