mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Enforce writing username in TODO comments (#4235)
This commit is contained in:
@@ -192,7 +192,7 @@ impl PaintStats {
|
||||
fn add(&mut self, shape: &Shape) {
|
||||
match shape {
|
||||
Shape::Vec(shapes) => {
|
||||
// self += PaintStats::from_shapes(&shapes); // TODO
|
||||
// self += PaintStats::from_shapes(&shapes); // TODO(emilk)
|
||||
self.shapes += AllocInfo::from_slice(shapes);
|
||||
self.shape_vec += AllocInfo::from_slice(shapes);
|
||||
for shape in shapes {
|
||||
|
||||
@@ -1864,7 +1864,7 @@ impl Tessellator {
|
||||
.filter(|(_, clipped_shape)| should_parallelize(&clipped_shape.shape))
|
||||
.map(|(index, clipped_shape)| {
|
||||
crate::profile_scope!("tessellate_big_shape");
|
||||
// TODO: reuse tessellator in a thread local
|
||||
// TODO(emilk): reuse tessellator in a thread local
|
||||
let mut tessellator = (*self).clone();
|
||||
let mut mesh = Mesh::default();
|
||||
tessellator.tessellate_shape(clipped_shape.shape.clone(), &mut mesh);
|
||||
|
||||
@@ -960,7 +960,7 @@ fn is_kana(c: char) -> bool {
|
||||
|
||||
#[inline]
|
||||
fn is_cjk(c: char) -> bool {
|
||||
// TODO: Add support for Korean Hangul.
|
||||
// TODO(bigfarts): Add support for Korean Hangul.
|
||||
is_cjk_ideograph(c) || is_kana(c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user