Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
  • Loading branch information
mathetake committed Nov 8, 2024
1 parent e110ee2 commit 7ecd263
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/extensions/dynamic_modules/sdk/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ pub trait HttpFilter {} // TODO.
/// An opaque object that represents the underlying Envoy Http filter config. This has one to one
/// mapping with the Envoy Http filter config object as well as [`HttpFilterConfig`] object.
///
/// This is a shallow wrapper around the raw pointer to the Envoy HTTP filter object, and it
/// can be copied and stored somewhere else up until the corresponding [`HttpFilterConfig::destroy`]
/// for the corresponding [`HttpFilterConfig`] is called.
/// This is a shallow wrapper around the raw pointer to the Envoy HTTP filter config object, and it
/// can be copied and used up until the corresponding [`HttpFilterConfig`] is dropped.
//
// TODO(@mathetake): make this only avaialble for non-test code, and provide a mock for testing. So that users
// can write a unit tests for their HttpFilterConfig implementations.
Expand Down

0 comments on commit 7ecd263

Please sign in to comment.