Skip to content

Commit 18ecba9

Browse files
committed
s/method/function/
1 parent 8c92dec commit 18ecba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-transparent-unions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ struct Cryptor {
185185
// Imagine there a few fields here, defined by an external C library.
186186
}
187187

188-
// This method may be called from C (or Rust!), and matches the C
188+
// This function may be called from C (or Rust!), and matches the C
189189
// function signature: bool(Cryptor *cryptor)
190190
pub extern "C" fn init_cryptor(cryptor: &mut core::mem::MaybeUninit<Cryptor>) -> bool {
191191
// Initialize the cryptor and return whether we succeeded

0 commit comments

Comments
 (0)