mirror of
https://github.com/denoland/deno.git
synced 2025-12-23 08:48:24 +00:00
chore: remove repetitive words in comment (#31023)
Some checks are pending
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Some checks are pending
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This commit is contained in:
parent
48f273b8c9
commit
6e4f7677ea
2 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ use crate::lsp::logging::lsp_log;
|
|||
use crate::lsp::logging::lsp_warn;
|
||||
use crate::sys::CliSys;
|
||||
|
||||
/// Calculate a version for for a given path.
|
||||
/// Calculate a version for a given path.
|
||||
pub fn calculate_fs_version_at_path(path: impl AsRef<Path>) -> Option<String> {
|
||||
let metadata = fs::metadata(path).ok()?;
|
||||
if let Ok(modified) = metadata.modified() {
|
||||
|
|
|
|||
|
|
@ -72,11 +72,11 @@ where
|
|||
// function #[inline(always)] to avoid holding the unboxed, unused future on the stack.
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
// SAFETY: this this is guaranteed to be running on a current-thread executor
|
||||
// SAFETY: this is guaranteed to be running on a current-thread executor
|
||||
let future = Box::pin(unsafe { MaskFutureAsSend::new(future) });
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
// SAFETY: this this is guaranteed to be running on a current-thread executor
|
||||
// SAFETY: this is guaranteed to be running on a current-thread executor
|
||||
let future = unsafe { MaskFutureAsSend::new(future) };
|
||||
|
||||
#[cfg(tokio_unstable)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue