Skip to content

Commit f34df3a

Browse files
committed
Update service_endpoint example
1 parent 31d6566 commit f34df3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

azure_devops_rust_api/examples/service_endpoint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ async fn main() -> Result<()> {
3232
// Display the returned service endpoints
3333
for endpoint in service_endpoints.iter() {
3434
println!(
35-
"{:38} {:40} {}",
36-
endpoint.id, endpoint.name, endpoint.description
35+
"{:38} {:40} {:?}",
36+
endpoint.id, endpoint.name, endpoint.description.as_deref().unwrap_or("")
3737
);
3838
}
3939

0 commit comments

Comments
 (0)