Skip to content

Commit 3cf2a74

Browse files
committed
Tiny comment fixes.
1 parent 8da1b33 commit 3cf2a74

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

compiler/rustc_incremental/src/persist/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
//! ## Synchronization
5454
//!
5555
//! There is some synchronization needed in order for the compiler to be able to
56-
//! determine whether a given private session directory is not in used any more.
56+
//! determine whether a given private session directory is not in use any more.
5757
//! This is done by creating a lock file for each session directory and
5858
//! locking it while the directory is still being used. Since file locks have
5959
//! operating system support, we can rely on the lock being released if the

compiler/rustc_incremental/src/persist/load.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Code to save/load the dep-graph from files.
1+
//! Code to load the dep-graph from files.
22
33
use crate::errors;
44
use rustc_data_structures::memmap::Mmap;

compiler/rustc_incremental/src/persist/work_product.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ use rustc_session::Session;
1111
use std::fs as std_fs;
1212
use std::path::Path;
1313

14-
/// Copies a CGU work product to the incremental compilation directory, so next compilation can find and reuse it.
14+
/// Copies a CGU work product to the incremental compilation directory, so next compilation can
15+
/// find and reuse it.
1516
pub fn copy_cgu_workproduct_to_incr_comp_cache_dir(
1617
sess: &Session,
1718
cgu_name: &str,

0 commit comments

Comments
 (0)