Moved ovveride to after params

This commit is contained in:
2026-06-16 16:19:28 +02:00
parent 8b95497725
commit 4def6db820
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ pub class Dog : Mammal {
super = Super::new();
}
pub override(Animal) fn String speak(*self) {
pub fn String speak(*self) override(Animal) {
"Woof!".to_string()
}