mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
docs: fix references
This commit is contained in:
parent
56dcf99778
commit
9040222570
3 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ use super::TextChange;
|
|||
/// queues, transforming outbound delayed ops and applying remote changes
|
||||
/// to the local buffer
|
||||
///
|
||||
/// this controller implements [crate::buffer::OperationFactory], allowing to produce
|
||||
/// this controller implements [crate::api::OperationFactory], allowing to produce
|
||||
/// Operation Sequences easily
|
||||
///
|
||||
/// upon dropping this handle will stop the associated worker
|
||||
|
|
|
@ -122,9 +122,9 @@ impl Client {
|
|||
///
|
||||
/// to interact with such buffer [crate::api::Controller::send] operation sequences
|
||||
/// or [crate::api::Controller::recv] for text events using its [crate::buffer::Controller].
|
||||
/// to generate operation sequences use the [crate::buffer::OperationFactory]
|
||||
/// to generate operation sequences use the [crate::api::OperationFactory]
|
||||
/// methods, which are implemented on [crate::buffer::Controller], such as
|
||||
/// [crate::buffer::OperationFactory::delta].
|
||||
/// [crate::api::OperationFactory::delta].
|
||||
pub async fn attach(&mut self, path: &str) -> Result<Arc<BufferController>, Error> {
|
||||
if let Some(workspace) = &mut self.workspace {
|
||||
let mut client = self.client.buffer.clone();
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
//! be applied on buffers of some length and are transformable to be able to be
|
||||
//! applied in a different order while maintaining the same result.
|
||||
//!
|
||||
//! To generate Operation Sequences use helper methods from module [buffer::factory] (trait [buffer::OperationFactory]).
|
||||
//! To generate Operation Sequences use helper methods from module [api::factory] (trait [api::OperationFactory]).
|
||||
//!
|
||||
//! ## features
|
||||
//! * `proto` : include GRCP protocol definitions under [proto] (default enabled)
|
||||
|
|
Loading…
Reference in a new issue