Fix Into conversion involving generic remote derive with getter

This commit is contained in:
David Tolnay
2022-11-27 17:16:00 -08:00
parent 7328b34810
commit 37021910c9
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -80,6 +80,7 @@ mod remote {
}
impl<T> StructGeneric<T> {
#[allow(dead_code)]
pub fn get_value(&self) -> &T {
&self.value
}