Removed the mention of panics on context_radius
This commit is contained in:
parent
ff5f4caaa3
commit
823cb566df
1 changed files with 1 additions and 2 deletions
|
|
@ -139,8 +139,7 @@ impl<'diff, 'old, 'new, 'bufs, T: DiffableStr + ?Sized> UnifiedDiff<'diff, 'old,
|
|||
/// Changes the context radius.
|
||||
///
|
||||
/// The context radius is the number of lines between changes that should
|
||||
/// be emitted. This defaults to `3`. This value must be one or larger or
|
||||
/// creating the diff will panic.
|
||||
/// be emitted. This defaults to `3`.
|
||||
pub fn context_radius(&mut self, n: usize) -> &mut Self {
|
||||
self.context_radius = n;
|
||||
self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue