You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added comprehensive documentation for the apply_precompile method that explains
its behavior for adding, updating, and removing precompiles.
Key improvements:
- Clarified that the method applies a transformation to existing precompiles
- Explained the closure's input (Option<precompile>) and output behavior
- Added clear examples for common use cases:
- Adding a new precompile
- Updating an existing precompile
- Removing a precompile
- Conditional operations
- Documented that returning None removes the precompile
- Documented that returning Some inserts or replaces the precompile
This makes the method's behavior much clearer, especially the fact that
it can be used to remove precompiles by returning None from the closure.
0 commit comments