Improved Documentation
Added some doc tests as examples.
This commit is contained in:
parent
cb934ff6dc
commit
57fefcc945
4 changed files with 25 additions and 9 deletions
|
|
@ -8,7 +8,6 @@ fn application_domain() {
|
|||
|
||||
KLocalizedString::set_application_domain(&domain);
|
||||
let domain = KLocalizedString::application_domain();
|
||||
println!("{:#?}", domain);
|
||||
|
||||
assert_eq!(domain.to_str().unwrap(), "KI18n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue