@@ -250,7 +250,7 @@ pub trait Deque<T> : Mutable {
250
250
/// ```
251
251
fn front_mut < ' a > ( & ' a mut self ) -> Option < & ' a mut T > ;
252
252
253
- /// Provide a reference to the back element, or None if the sequence is
253
+ /// Provide a reference to the back element, or ` None` if the sequence is
254
254
/// empty.
255
255
///
256
256
/// # Example
@@ -267,7 +267,7 @@ pub trait Deque<T> : Mutable {
267
267
/// ```
268
268
fn back < ' a > ( & ' a self ) -> Option < & ' a T > ;
269
269
270
- /// Provide a mutable reference to the back element, or None if the sequence
270
+ /// Provide a mutable reference to the back element, or ` None` if the sequence
271
271
/// is empty.
272
272
///
273
273
/// # Example
@@ -314,7 +314,7 @@ pub trait Deque<T> : Mutable {
314
314
/// assert_eq!(d.front(), Some(&1i));
315
315
fn push_back ( & mut self , elt : T ) ;
316
316
317
- /// Remove the last element and return it, or None if the sequence is empty.
317
+ /// Remove the last element and return it, or ` None` if the sequence is empty.
318
318
///
319
319
/// # Example
320
320
///
@@ -330,7 +330,7 @@ pub trait Deque<T> : Mutable {
330
330
/// assert_eq!(d.pop_back(), None);
331
331
fn pop_back ( & mut self ) -> Option < T > ;
332
332
333
- /// Remove the first element and return it, or None if the sequence is empty.
333
+ /// Remove the first element and return it, or ` None` if the sequence is empty.
334
334
///
335
335
/// # Example
336
336
///
0 commit comments