Fix typos

This commit is contained in:
eta 2022-06-16 15:12:38 +00:00 committed by Ian Jackson
parent d2b783641d
commit 54c7070b30
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ struct Inner<C: AbstractChannel> {
/// Configuration for channels that we create, and that all existing channels are using
///
/// Will be updated by a background task, which also notifies all existing
/// `Open` channels via `channels.`
/// `Open` channels via `channels`.
///
/// (Must be protected by the same lock as `channels`, or a channel might be
/// created using being-replaced configuration, but not get an update.)
@ -184,7 +184,7 @@ impl<C: AbstractChannel> ChannelMap<C> {
///
/// Passes a snapshot of the current global channels configuration to `func`.
/// If that configuration is copied by `func` into an [`AbstractChannel`]
/// `func` must ensure that that `BastractChannel` is returned,
/// `func` must ensure that that `AbstractChannel` is returned,
/// so that it will be properly registered and receive config updates.
pub(crate) fn replace_with_config<F>(
&self,

View File

@ -35,7 +35,7 @@ macro_rules! define_channels_config_and_automatic_impls { { $(
/// This is used both to generate the initial configuration,
/// and to handle updates:
/// when used for handling updates,
/// it contains the last configuration that has bee implemented.
/// it contains the last configuration that has been implemented.
///
/// Central code managing all channels will contain a `ChannelsConfig`,
/// and use `ChannelsConfigUpdatesBuilder` to both update that config