Skip to content

Commit

Permalink
Fix example from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ypo committed Feb 4, 2024
1 parent cfe09cd commit 5eb5842
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,11 @@
//! use flute::sender::Config;
//! use flute::sender::PriorityQueue;
//! use flute::core::UDPEndpoint;
//! use flute::sender::ObjectDesc;
//! use flute::sender::Cenc;
//!
//! // Create a default configuration
//! let mut config = Default::default();
//! let mut config: flute::sender::Config = Default::default();
//!
//! // Configure the HIGHEST priority queue with a capacity of 3 simultaneous file transfer
//! config.set_priority_queue(PriorityQueue::HIGHEST, PriorityQueue::new(3));
Expand Down

0 comments on commit 5eb5842

Please sign in to comment.