fn returns_summarizable() -> impl SummaryV2 {
    TweetV2 {
        username: String::from("horse_ebooks"),
        content: String::from("of course, as you probably already know, people"),
        reply: false,
        retweet: false,
    }
}
// By using impl Summary for the return type, we specify that the "returns_summarizable"
// function returns some type that implements the "SummaryV2" trait without naming the concrete type.
By using impl Summary for the return type, we specify that the "returns_summarizable"
function returns some type that implements the "SummaryV2" trait without naming the concrete type.
By using impl Summary for the return type we specify that the " returns_summarizable " function returns some type that implements the " SummaryV2 " trait without naming the concrete type .
fn returns_summarizable() -> impl SummaryV2 {
    TweetV2 {
        username: String::from("horse_ebooks"),
        content: String::from("of course, as you probably already know, people"),
        reply: false,
        retweet: false,
    }
}
fn returns_summarizable ( ) -> impl SummaryV2 { TweetV2 { username : String :: from ( " " ) , content : String :: from ( " " ) , reply : false , retweet : false , } }
By using impl Summary for the return type, we specify that the "returns_summarizable"
function returns some type that implements the "SummaryV2" trait without naming the concrete type.
By using impl Summary for the return type we specify that the " returns_summarizable " function returns some type that implements the " SummaryV2 " trait without naming the concrete type .