Skip to content

Commit

Permalink
Address review comments from @alessandrod
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Fredette <afredette@redhat.com>
  • Loading branch information
anfredette committed Jan 30, 2023
1 parent d43879d commit 7c24296
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aya/src/programs/tc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ define_link_wrapper!(
);

impl SchedClassifierLink {
/// This API is used to construct a [`SchedClassifierLink`] where the `if_name`, `attach_type`,
/// Constructs a [`SchedClassifierLink`] where the `if_name`, `attach_type`,
/// `priority` and `handle` are already known. This may have been found from a link created by
/// [SchedClassifier::attach], the output of the `tc filter` command or from the output of
/// another BPF loader.
Expand All @@ -238,8 +238,8 @@ impl SchedClassifierLink {
/// unintended consequences.
///
/// # Errors
/// - If a program is not attached with the provided parameters, calls to
/// [`SchedClassifierLink::detach`] will return a [`TcError::NetlinkError`]
/// Returns [`io::Error`] if `if_name` is invalid. If the other parameters are invalid this call
/// will succeed, but calling [`SchedClassifierLink::detach`] will return [`TcError::NetlinkError`].
///
/// # Examples
/// ```no_run
Expand Down

0 comments on commit 7c24296

Please sign in to comment.