From fa4521dfe9b68189e530b7dd431c9afaedc2404e Mon Sep 17 00:00:00 2001 From: Guilherme Berghauser Date: Mon, 25 Mar 2024 10:41:42 +0100 Subject: [PATCH] =?UTF-8?q?melhoria=20cap=C3=ADtulo=2010-02=20na=20linha?= =?UTF-8?q?=20232?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ch10-02-traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch10-02-traits.md b/src/ch10-02-traits.md index 5087da2b60..43fa497fce 100644 --- a/src/ch10-02-traits.md +++ b/src/ch10-02-traits.md @@ -229,7 +229,7 @@ let artigo = ArtigoDeNoticia { time de hockey da NHL."), }; -println!("Novo artigo disponível! {}", artigo.summary()); +println!("Novo artigo disponível! {}", artigo.resumo()); ``` Esse código imprime `Novo artigo disponível! (Leia mais...)`