This is an automated email from the ASF dual-hosted git repository.
jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new 718ab46 [RS] Add clarification of where a constant comes from
718ab46 is described below
commit 718ab46379b6b358f5b216b76e5031da04f0dcae
Author: Paco <[email protected]>
AuthorDate: Wed Mar 13 02:05:30 2019 +0000
[RS] Add clarification of where a constant comes from
---
tutorial/rs/src/bin/tutorial_client.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tutorial/rs/src/bin/tutorial_client.rs
b/tutorial/rs/src/bin/tutorial_client.rs
index c80fafc..bfd81d4 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 :(