Re-added accidentally removed test method.
Also fixed indentation.
This commit is contained in:
+2
-2
@@ -44,7 +44,7 @@ impl<A: Array<Item=u8>> ArrayString<A> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Create a new `ArrayString` from a string slice.
|
||||
///
|
||||
/// Capacity is inferred from the type parameter.
|
||||
@@ -62,7 +62,7 @@ impl<A: Array<Item=u8>> ArrayString<A> {
|
||||
try!(arraystr.push_str(s));
|
||||
Ok(arraystr)
|
||||
}
|
||||
|
||||
|
||||
/// Return the capacity of the `ArrayString`.
|
||||
///
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user