mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
as_str() replaced by str_view()
This commit is contained in:
@@ -160,5 +160,5 @@ fn usz! NanoDuration.to_format(&self, Formatter* formatter) @dynamic
|
||||
str.printf("%ds", sec);
|
||||
}
|
||||
}
|
||||
return formatter.printf(str.as_str())!;
|
||||
return formatter.printf(str.str_view())!;
|
||||
}
|
||||
Reference in New Issue
Block a user