File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ pub fn log(input: TokenStream) -> TokenStream {
261261///
262262/// logging output will look like:
263263///
264- /// "Program log: Function my_function consumed 36 compute units"
264+ /// "Program log: Function ` my_function` consumed 36 compute units"
265265///
266266/// # References
267267///
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ pub(crate) struct Account {
4848 ///
4949 /// * lamport mutable borrow flag
5050 /// - `7 6 5 4 3 2 1 0`
51- /// - `x . . . . . . .`: `1` -> the lamport field can be mutably borrowed;
52- /// `0` -> there is an outstanding mutable borrow for the lamports.
51+ /// - `x . . . . . . .`: `1` - the lamport field can be mutably borrowed;
52+ /// `0` - there is an outstanding mutable borrow for the lamports.
5353 ///
5454 /// * lamport immutable borrow count
5555 /// - `7 6 5 4 3 2 1 0`
@@ -59,8 +59,8 @@ pub(crate) struct Account {
5959 ///
6060 /// * data mutable borrow flag
6161 /// - `7 6 5 4 3 2 1 0`
62- /// - `. . . . x . . .`: `1` -> the account data can be mutably borrowed;
63- /// `0` -> there is an outstanding mutable borrow for the account data.
62+ /// - `. . . . x . . .`: `1` - the account data can be mutably borrowed;
63+ /// `0` - there is an outstanding mutable borrow for the account data.
6464 ///
6565 /// * data immutable borrow count
6666 /// - `7 6 5 4 3 2 1 0`
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ pub unsafe fn invoke_signed_unchecked(
390390 /// DO NOT EXPOSE THIS STRUCT:
391391 ///
392392 /// To ensure pointers are valid upon use, the scope of this struct should
393- /// only be limited to the stack where sol_invoke_signed_c happens and then
393+ /// only be limited to the stack where ` sol_invoke_signed_c` happens and then
394394 /// discarded immediately after.
395395 #[ repr( C ) ]
396396 struct CInstruction < ' a > {
@@ -466,12 +466,12 @@ pub fn set_return_data(data: &[u8]) {
466466///
467467/// Return data is set by the callee with [`set_return_data`].
468468///
469- /// Return data is cleared before every CPI invocation — a program that
469+ /// Return data is cleared before every CPI invocation - a program that
470470/// has invoked no other programs can expect the return data to be `None`; if no
471471/// return data was set by the previous CPI invocation, then this function
472472/// returns `None`.
473473///
474- /// Return data is not cleared after returning from CPI invocations — a
474+ /// Return data is not cleared after returning from CPI invocations. A
475475/// program that has called another program may retrieve return data that was
476476/// not set by the called program, but instead set by a program further down the
477477/// call stack; or, if a program calls itself recursively, it is possible that
You can’t perform that action at this time.
0 commit comments