mirror of https://git.sr.ht/~stygianentity/bincode
clean up wording of docs
This commit is contained in:
parent
0ebd6a2b0f
commit
bf4d6f637b
|
|
@ -67,7 +67,7 @@ enum RefBoxInner<'a, T: 'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl <'a, T> RefBox<'a, T> {
|
impl <'a, T> RefBox<'a, T> {
|
||||||
/// Creates a new RefBox that looks at a value.
|
/// Creates a new RefBox that looks at a borrowed value.
|
||||||
pub fn new(v: &'a T) -> RefBox<'a, T> {
|
pub fn new(v: &'a T) -> RefBox<'a, T> {
|
||||||
RefBox {
|
RefBox {
|
||||||
inner: RefBoxInner::Ref(v)
|
inner: RefBoxInner::Ref(v)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue