```rust
impl Ticket {
- pub fn assigned_to(&self) -> &String {
+ pub fn assigned_to(&self) -> &str {
match &self.status {
Status::InProgress { assigned_to } => assigned_to,
Status::Done | Status::ToDo => {
```rust
impl Ticket {
- pub fn assigned_to(&self) -> &String {
+ pub fn assigned_to(&self) -> &str {
if let Status::InProgress { assigned_to } = &self.status {
assigned_to
} else {
```rust
impl Ticket {
- pub fn assigned_to(&self) -> &String {
+ pub fn assigned_to(&self) -> &str {
let Status::InProgress { assigned_to } = &self.status else {
panic!("Only `In-Progress` tickets can be assigned to someone");
};