summaryrefslogtreecommitdiff
path: root/tutorial
diff options
context:
space:
mode:
authorPaco <pakoito@users.noreply.github.com>2019-03-13 02:05:30 +0000
committerJames E. King III <jking@apache.org>2019-03-16 00:39:48 -0400
commit718ab46379b6b358f5b216b76e5031da04f0dcae (patch)
tree86d041247b8ab767a3a223d9a98356d2fbb13a7e /tutorial
parent3b7798295b7aec5d65da9aff402d3292e25fe0ab (diff)
downloadthrift-718ab46379b6b358f5b216b76e5031da04f0dcae.tar.gz
[RS] Add clarification of where a constant comes from
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/rs/src/bin/tutorial_client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/rs/src/bin/tutorial_client.rs b/tutorial/rs/src/bin/tutorial_client.rs
index c80fafc2f..bfd81d4c3 100644
--- a/tutorial/rs/src/bin/tutorial_client.rs
+++ b/tutorial/rs/src/bin/tutorial_client.rs
@@ -75,7 +75,7 @@ fn run() -> thrift::Result<()> {
println!("multiplied 7 and 8 and got {}", res);
// let's get the log for it
- let res = client.get_struct(32)?;
+ let res = client.get_struct(logid /* 32 */)?;
println!("got log {:?} for operation {}", res, logid);
// ok - let's be bad :(