Use String instead of &str in print