소스 검색

Note in the rust doc that these comments are bidirectional

Nick Mathewson 6 년 전
부모
커밋
ebcd1a57c0
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      doc/HACKING/GettingStartedRust.md

+ 3 - 1
doc/HACKING/GettingStartedRust.md

@@ -131,7 +131,9 @@ as follows:
 
   /// C_RUST_COUPLED: <path_to_file> `<name_of_c_object>`
 
-Where <name_of_c_object> can be an enum, struct, constant, etc.
+Where <name_of_c_object> can be an enum, struct, constant, etc.  Then, do the
+same in the C code, to note that rust will need to be changed when the C
+does.
 
  Adding your Rust module to Tor's build system
 -----------------------------------------------