mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[rust] add putln
method to NcPlane.
- fix compilation error using older rust version. - update docs.
This commit is contained in:
parent
115b06c386
commit
873a75f77f
@ -347,9 +347,9 @@ impl NcStyleMethods for NcStyle {
|
||||
NCSTYLE_BLINK,
|
||||
NCSTYLE_NONE,
|
||||
];
|
||||
for s in styles {
|
||||
if self.has(s) {
|
||||
v.push(s)
|
||||
for s in &styles {
|
||||
if self.has(*s) {
|
||||
v.push(*s)
|
||||
}
|
||||
}
|
||||
v
|
||||
|
Loading…
x
Reference in New Issue
Block a user