File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
move-bytecode-verifier/src/reference_safety
testing-infra/test-generation/src Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ impl AbstractState {
535
535
}
536
536
}
537
537
538
- // Check mutable references can be transfered
538
+ // Check mutable references can be transferred
539
539
let mut all_references_to_borrow_from = BTreeSet :: new ( ) ;
540
540
let mut mutable_references_to_borrow_from = BTreeSet :: new ( ) ;
541
541
for id in arguments. iter ( ) . filter_map ( |v| v. ref_id ( ) ) {
@@ -611,7 +611,7 @@ impl AbstractState {
611
611
) ) ;
612
612
}
613
613
614
- // Check mutable references can be transfered
614
+ // Check mutable references can be transferred
615
615
for id in values. into_iter ( ) . filter_map ( |v| v. ref_id ( ) ) {
616
616
if self . borrow_graph . is_mutable ( id) && !self . is_writable ( id) {
617
617
return Err ( self . error ( StatusCode :: RET_BORROWED_MUTABLE_REFERENCE_ERROR , offset) ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ impl MoveVM {
43
43
/// Right now it is the caller's responsibility to ensure cache coherence of the Move VM Loader
44
44
/// - When a module gets published in a Move VM Session, and then gets used by another
45
45
/// transaction, it will be loaded into the code cache and stay there even if the resulted
46
- /// effects do not get commited back to the storage when the Session ends.
46
+ /// effects do not get committed back to the storage when the Session ends.
47
47
/// - As a result, if one wants to have multiple sessions at a time, one needs to make sure
48
48
/// none of them will try to publish a module. In other words, if there is a module publishing
49
49
/// Session it must be the only Session existing.
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ pub fn run_generation(args: Args) {
363
363
) ;
364
364
365
365
let ( sender, receiver) = bounded ( num_threads) ;
366
- let ( stats_sender, stats_reciever ) = unbounded ( ) ;
366
+ let ( stats_sender, stats_receiver ) = unbounded ( ) ;
367
367
let seed = seed ( args. seed ) ;
368
368
369
369
let mut threads = Vec :: new ( ) ;
@@ -384,7 +384,7 @@ pub fn run_generation(args: Args) {
384
384
385
385
let num_iters = args. num_iterations ;
386
386
threads. push ( thread:: spawn ( move || {
387
- module_frame_generation ( num_iters, seed, sender, stats_reciever )
387
+ module_frame_generation ( num_iters, seed, sender, stats_receiver )
388
388
} ) ) ;
389
389
390
390
for thread in threads {
You can’t perform that action at this time.
0 commit comments