Fix Into conversion involving generic remote derive with getter

This commit is contained in:
David Tolnay committed 2022-11-27 17:18:10 -08:00
1 parent 7328b34810
commit 37021910c9
2 files changed
+7 -3

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ mod remote {
}
impl<T> StructGeneric<T> {
#[allow(dead_code)]
pub fn get_value(&self) -> &T {
&self.value
}