-
-
Save Gisleburt/a9d8f791538bb9cfe07c0abd3eaeeb6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::ops; | |
impl ops::Deref for Albums { | |
type Target = Vec<Album>; | |
fn deref(&self) -> &Self::Target { | |
&self.0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment