aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/examples/client.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-25 23:55:07 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-25 23:55:07 -0700
commit69cb39f2c5d4012abff23af5b0e1aba5f9f899df (patch)
tree800ce18016a3d781615866379a13a0ab5d60c4bd /rust/fatcat-api/examples/client.rs
parenteb6714fdc02205b15cf4c9f4f632ab259534ae64 (diff)
downloadfatcat-69cb39f2c5d4012abff23af5b0e1aba5f9f899df.tar.gz
fatcat-69cb39f2c5d4012abff23af5b0e1aba5f9f899df.zip
expand, not expend
Diffstat (limited to 'rust/fatcat-api/examples/client.rs')
-rw-r--r--rust/fatcat-api/examples/client.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/rust/fatcat-api/examples/client.rs b/rust/fatcat-api/examples/client.rs
index 3cfcd965..f98518cc 100644
--- a/rust/fatcat-api/examples/client.rs
+++ b/rust/fatcat-api/examples/client.rs
@@ -156,7 +156,7 @@ fn main() {
}
Some("GetContainer") => {
- let result = client.get_container("id_example".to_string(), Some("expend_example".to_string())).wait();
+ let result = client.get_container("id_example".to_string(), Some("expand_example".to_string())).wait();
println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>")));
}
@@ -166,7 +166,7 @@ fn main() {
}
Some("GetCreator") => {
- let result = client.get_creator("id_example".to_string(), Some("expend_example".to_string())).wait();
+ let result = client.get_creator("id_example".to_string(), Some("expand_example".to_string())).wait();
println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>")));
}
@@ -196,7 +196,7 @@ fn main() {
}
Some("GetFile") => {
- let result = client.get_file("id_example".to_string(), Some("expend_example".to_string())).wait();
+ let result = client.get_file("id_example".to_string(), Some("expand_example".to_string())).wait();
println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>")));
}
@@ -206,7 +206,7 @@ fn main() {
}
Some("GetRelease") => {
- let result = client.get_release("id_example".to_string(), Some("expend_example".to_string())).wait();
+ let result = client.get_release("id_example".to_string(), Some("expand_example".to_string())).wait();
println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>")));
}
@@ -226,7 +226,7 @@ fn main() {
}
Some("GetWork") => {
- let result = client.get_work("id_example".to_string(), Some("expend_example".to_string())).wait();
+ let result = client.get_work("id_example".to_string(), Some("expand_example".to_string())).wait();
println!("{:?} (X-Span-ID: {:?})", result, client.context().x_span_id.clone().unwrap_or(String::from("<none>")));
}