Skip to content

Commit f7a7b6a

Browse files
committed
Merge pull request #1 from s-panferov/fix/rename-slice
Rename Slice to AsSlice because of Rust change
2 parents 62a4548 + 31014fa commit f7a7b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ fn is_restricted_name_char(c: char) -> bool {
344344

345345

346346
#[inline]
347-
fn fmt_params<T: Slice<Param>>(params: T, fmt: &mut fmt::Formatter) -> fmt::Result {
347+
fn fmt_params<T: AsSlice<Param>>(params: T, fmt: &mut fmt::Formatter) -> fmt::Result {
348348
for param in params.as_slice().iter() {
349349
try!(fmt_param(param, fmt));
350350
}

0 commit comments

Comments
 (0)